Removed unnecessary ID and replaced with .wcf-spinner
authorAlexander Ebert <ebert@woltlab.com>
Fri, 24 Feb 2012 15:40:08 +0000 (16:40 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 24 Feb 2012 15:40:08 +0000 (16:40 +0100)
Partially fixes #444

wcfsetup/install/files/acp/style/wcf.css
wcfsetup/install/files/js/WCF.js

index 66060c18a5ec0e0180543eb6124bb4c8c084cde4..1ab23238563afed385d86efbe6caf4812957f8b7 100644 (file)
@@ -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;
index 6f954451905a9cb2f4f0a2d4a004ff85401616d7..1cc41a69683792c91dfa664b193d68411d325d05 100644 (file)
@@ -1056,7 +1056,7 @@ WCF.Action.Proxy.prototype = {
        _showLoadingOverlay: function() {
                // create loading overlay on first run
                if (this._loadingOverlay === null) {
-                       this._loadingOverlay = $('<div id="actionProxyLoading" class="actionProxyLoading"><img src="' + WCF.Icon.get('wcf.icon.loading') + '" alt="" />' + WCF.Language.get('wcf.global.loading') + '</div>').hide().appendTo($('body'));
+                       this._loadingOverlay = $('<div class="wcf-spinner"><img src="' + WCF.Icon.get('wcf.icon.loading') + '" alt="" />' + WCF.Language.get('wcf.global.loading') + '</div>').hide().appendTo($('body'));
                }
 
                // fade in overlay