Bugfixes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
exports.__esModule = true;
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
module.exports = function (actionAPI) {
|
||||
//Handle the action when executed
|
||||
actionAPI.handle(function (properties, status) {
|
||||
@@ -10,7 +10,8 @@ module.exports = function (actionAPI) {
|
||||
.play()
|
||||
.then(function () {
|
||||
status("Current clip playing", 'info');
|
||||
})["catch"](function (error) {
|
||||
})
|
||||
.catch(function (error) {
|
||||
status(error.message, 'error');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user