From 63a612befdc12c53e3708d02a347bd502a5fdad6 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 24 Feb 2012 16:40:08 +0100 Subject: [PATCH] Removed unnecessary ID and replaced with .wcf-spinner Partially fixes #444 --- wcfsetup/install/files/acp/style/wcf.css | 6 ++---- wcfsetup/install/files/js/WCF.js | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/acp/style/wcf.css b/wcfsetup/install/files/acp/style/wcf.css index 66060c18a5..1ab2323856 100644 --- a/wcfsetup/install/files/acp/style/wcf.css +++ b/wcfsetup/install/files/acp/style/wcf.css @@ -4451,8 +4451,7 @@ button[disabled='disabled'] { /* Spinner */ -#actionProxyLoading, -#wcf-spinner { +.wcf-spinner { text-align: center; text-shadow: 0 -1px 0 #000; color: #fff; @@ -4483,8 +4482,7 @@ button[disabled='disabled'] { box-shadow: 0 1px 7px rgba(0, 0, 0, .5); } -#actionProxyLoading img, -#wcf-spinner img { +.wcf-spinner img { margin-bottom: 10px; height: 48px; width: 48px; diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 6f95445190..1cc41a6968 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -1056,7 +1056,7 @@ WCF.Action.Proxy.prototype = { _showLoadingOverlay: function() { // create loading overlay on first run if (this._loadingOverlay === null) { - this._loadingOverlay = $('
' + WCF.Language.get('wcf.global.loading') + '
').hide().appendTo($('body')); + this._loadingOverlay = $('
' + WCF.Language.get('wcf.global.loading') + '
').hide().appendTo($('body')); } // fade in overlay -- 2.20.1