Setting marker to null on removeMarker call

This commit is contained in:
Pavle Goloskokovic 2017-11-23 13:12:21 +01:00
parent 9d8afee78f
commit c48f51de35

View file

@ -184,7 +184,8 @@ var BaseSound = new Class({
return true; return true;
}, },
removeMarker: function (markerName) { removeMarker: function (markerName) {
return false; this.markers[markerName] = null;
return true;
}, },
play: function (markerName, config) { play: function (markerName, config) {
if (markerName === void 0) { markerName = ''; } if (markerName === void 0) { markerName = ''; }