Remove unused class "loading-done"
The class "loading-done" is unused and should have been removed in
commit bc1cfaabeb
.
Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
This commit is contained in:
parent
84ccf775d7
commit
c2aefc647f
|
@ -151,10 +151,6 @@ pageContent = do
|
||||||
"#page-content" # ".loading" ?
|
"#page-content" # ".loading" ?
|
||||||
opacity 0.35
|
opacity 0.35
|
||||||
|
|
||||||
"#page-content" # ".loading-done" ? do
|
|
||||||
transition "opacity" (sec 1) easeIn (sec 0.5)
|
|
||||||
opacity 1
|
|
||||||
|
|
||||||
"#page-content" ** ul |> (li # ":before") ? do
|
"#page-content" ** ul |> (li # ":before") ? do
|
||||||
content $ stringContent "\\2192"
|
content $ stringContent "\\2192"
|
||||||
paddingRight (em 0.5)
|
paddingRight (em 0.5)
|
||||||
|
|
|
@ -130,7 +130,7 @@ _paq.push(['enableLinkTracking']);
|
||||||
dataType: 'html',
|
dataType: 'html',
|
||||||
beforeSend: function (xhr, settings) {
|
beforeSend: function (xhr, settings) {
|
||||||
// Add .loading to #page-content and #nav to facilitate a loading animation
|
// 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)
|
// Run current handlers onSuccess callback (if it exists)
|
||||||
if (handlerCallback.hasOwnProperty('beforeSend') && typeof handlerCallback.beforeSend === 'function') {
|
if (handlerCallback.hasOwnProperty('beforeSend') && typeof handlerCallback.beforeSend === 'function') {
|
||||||
|
|
Loading…
Reference in New Issue