diff --git a/source/Ox/js/Constants.js b/source/Ox/js/Constants.js index 8e8ac77f..1f0df000 100644 --- a/source/Ox/js/Constants.js +++ b/source/Ox/js/Constants.js @@ -77,7 +77,7 @@ Ox.SHORT_MONTHS = Ox.MONTHS.map(function(val) { return val.slice(0, 3); }); //@ Ox.PATH Path of Ox.js -Ox.PATH = Ox.toArray( +Ox.PATH = Array.prototype.slice.call( document.getElementsByTagName('script') ).reverse().filter(function(element) { return /Ox\.js$/.test(element.src);