From 8bb51da7887507b1c3648bd25cb59962d62635b6 Mon Sep 17 00:00:00 2001 From: William Toohey Date: Sun, 14 Feb 2016 23:15:58 +1000 Subject: [PATCH] Fix Chrome seek, drop test function --- src/js/HuesEditor.js | 6 ------ src/js/audio/aurora.js | 2 -- 2 files changed, 8 deletions(-) diff --git a/src/js/HuesEditor.js b/src/js/HuesEditor.js index dbdff2f..21c2bd2 100644 --- a/src/js/HuesEditor.js +++ b/src/js/HuesEditor.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, diff --git a/src/js/audio/aurora.js b/src/js/audio/aurora.js index 33c8d78..bcf5780 100644 --- a/src/js/audio/aurora.js +++ b/src/js/audio/aurora.js @@ -1729,8 +1729,6 @@ Demuxer = (function(_super) { }; formats = []; - - Demuxer.test = function() {return formats}; Demuxer.register = function(demuxer) { return formats.push(demuxer);