Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pacollins/hugo-future-imperfect-slim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorPatrick Collins <thepatrickcollins@gmail.com>2017-10-16 02:21:01 +0300
committerGitHub <noreply@github.com>2017-10-16 02:21:01 +0300
commit9bf1513d24b3cd0faea021c28109c2295b2dc863 (patch)
treedb2a1b3522baab748258cff530501c4a45d635a1 /static
parentd62e961d0c52a9452d3dd22fc363ae8e15de350c (diff)
Css animation patch (#64)
* Fix image tags and adjust featured alt * Disable "is-loading" class.
Diffstat (limited to 'static')
-rw-r--r--static/js/main.js13
1 files changed, 7 insertions, 6 deletions
diff --git a/static/js/main.js b/static/js/main.js
index 6da34cc..b0649f6 100644
--- a/static/js/main.js
+++ b/static/js/main.js
@@ -23,14 +23,15 @@
$sidebar = $('#sidebar'),
$main = $('#main');
+ // TODO: Fix this, or implement lazy load.
// Disable animations/transitions until the page has loaded.
- $body.addClass('is-loading');
+ // $body.addClass('is-loading');
- $window.on('load', function() {
- window.setTimeout(function() {
- $body.removeClass('is-loading');
- }, 100);
- });
+ // $window.on('load', function() {
+ // window.setTimeout(function() {
+ // $body.removeClass('is-loading');
+ // }, 100);
+ // });
// Fix: Placeholder polyfill.
$('form').placeholder();