diff options
-rw-r--r-- | apps/files/js/mainfileinfodetailview.js | 1 | ||||
-rw-r--r-- | apps/files/js/newfilemenu.js | 1 | ||||
-rw-r--r-- | core/js/js.js | 29 |
3 files changed, 0 insertions, 31 deletions
diff --git a/apps/files/js/mainfileinfodetailview.js b/apps/files/js/mainfileinfodetailview.js index 82860780d32..4a2067e09e5 100644 --- a/apps/files/js/mainfileinfodetailview.js +++ b/apps/files/js/mainfileinfodetailview.js @@ -187,7 +187,6 @@ } else { var iconUrl = this.model.get('icon') || OC.MimeType.getIconUrl('dir'); $iconDiv.css('background-image', 'url("' + iconUrl + '")'); - OC.Util.scaleFixForIE8($iconDiv); } this.$el.find('[title]').tooltip({placement: 'bottom'}); } else { diff --git a/apps/files/js/newfilemenu.js b/apps/files/js/newfilemenu.js index 109a2fed67e..01a183a33a7 100644 --- a/apps/files/js/newfilemenu.js +++ b/apps/files/js/newfilemenu.js @@ -210,7 +210,6 @@ uploadLabel: t('files', 'Upload file'), items: this._menuItems })); - OC.Util.scaleFixForIE8(this.$('.svg')); // Trigger upload action also with keyboard navigation on enter this.$el.find('[for="file_upload_start"]').on('keyup', function(event) { diff --git a/core/js/js.js b/core/js/js.js index edde0ff390c..3f7ad233e31 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1,11 +1,3 @@ -/** - * Disable console output unless DEBUG mode is enabled. - * Add - * 'debug' => true, - * To the definition of $CONFIG in config/config.php to enable debug mode. - * The undefined checks fix the broken ie8 console - */ - /* global oc_isadmin */ var oc_debug; @@ -1972,17 +1964,6 @@ OC.Util = { }, /** - * Fix image scaling for IE8, since background-size is not supported. - * - * This scales the image to the element's actual size, the URL is - * taken from the "background-image" CSS attribute. - * - * @deprecated IE8 isn't supported since 9.0 - * @param {Object} $el image element - */ - scaleFixForIE8: function($el) {}, - - /** * Returns whether this is IE * * @return {bool} true if this is IE, false otherwise @@ -1992,16 +1973,6 @@ OC.Util = { }, /** - * Returns whether this is IE8 - * - * @deprecated IE8 isn't supported since 9.0 - * @return {bool} false (IE8 isn't supported anymore) - */ - isIE8: function() { - return false; - }, - - /** * Returns the width of a generic browser scrollbar * * @return {int} width of scrollbar |