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') {