Fix Chrome seek, drop test function

master
William Toohey 10 years ago
parent 84e79b9aa9
commit 8bb51da788
  1. 6
      src/js/HuesEditor.js
  2. 2
      src/js/audio/aurora.js

@ -976,12 +976,6 @@ HuesEditor.prototype.rightClick = function(editor, event) {
};
HuesEditor.prototype.getTextCoords = function(event) {
// If we have it, don't bother
if(event.layerX && event.layerY) {
return {x: Math.floor(event.layerX / this.hilightWidth),
y: Math.floor(event.layerY / this.hilightHeight)};
}
// http://stackoverflow.com/a/10816667
let el = event.target,
x = 0,

@ -1730,8 +1730,6 @@ Demuxer = (function(_super) {
formats = [];
Demuxer.test = function() {return formats};
Demuxer.register = function(demuxer) {
return formats.push(demuxer);
};

Loading…
Cancel
Save