From c2aefc647f611643826cc057d22dd459a1362d6e Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Mon, 17 Aug 2015 03:39:45 -0400 Subject: [PATCH] Remove unused class "loading-done" The class "loading-done" is unused and should have been removed in commit bc1cfaabeb1480db0ceed3899eab2c56a085d72e. Signed-off-by: Collin J. Doering --- clay/Main.hs | 4 ---- js/default.js | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/clay/Main.hs b/clay/Main.hs index ee072e1..cd17b55 100644 --- a/clay/Main.hs +++ b/clay/Main.hs @@ -151,10 +151,6 @@ pageContent = do "#page-content" # ".loading" ? opacity 0.35 - "#page-content" # ".loading-done" ? do - transition "opacity" (sec 1) easeIn (sec 0.5) - opacity 1 - "#page-content" ** ul |> (li # ":before") ? do content $ stringContent "\\2192" paddingRight (em 0.5) diff --git a/js/default.js b/js/default.js index 79556ef..38386fc 100644 --- a/js/default.js +++ b/js/default.js @@ -130,7 +130,7 @@ _paq.push(['enableLinkTracking']); dataType: 'html', beforeSend: function (xhr, settings) { // Add .loading to #page-content and #nav to facilitate a loading animation - $('#page-content, #nav').removeClass('loading-done').addClass('loading'); + $('#page-content, #nav').addClass('loading'); // Run current handlers onSuccess callback (if it exists) if (handlerCallback.hasOwnProperty('beforeSend') && typeof handlerCallback.beforeSend === 'function') {