diff --git a/beta/emuos/assets/js/emuos.js b/beta/emuos/assets/js/emuos.js index 09667704..1f278086 100644 --- a/beta/emuos/assets/js/emuos.js +++ b/beta/emuos/assets/js/emuos.js @@ -28,28 +28,6 @@ var versionCheckInterval = null; var $window = $(window); - if (typeof $.fn.getSelector === 'undefined') { - $.fn.getSelector = function() { - if ($(this).attr('id')) { - return '#' + $(this).attr('id'); - } - - if ($(this).prop('tagName').toLowerCase() === 'body') { - return 'body'; - } - - var myOwn = $(this).attr('class'); - - if (!myOwn) { - myOwn = '>' + $(this).prop('tagName'); - } else { - myOwn = '.' + myOwn.split(' ').join('.'); - } - - return $(this).parent().getSelector() + ' ' + myOwn; - } - } - if (typeof $.fn.hasScrollBar === 'undefined') { $.fn.hasScrollBar = function() { var el = this.get(0);