From 9308b52a6500a435a0e613cbb52058c4c3db6dfd Mon Sep 17 00:00:00 2001 From: Emupedia Date: Thu, 1 Sep 2022 08:09:11 +0300 Subject: [PATCH] More work --- beta/emuos/assets/js/emuos.js | 22 ---------------------- 1 file changed, 22 deletions(-) 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);