diff options
author | Patrick Collins <thepatrickcollins@gmail.com> | 2017-10-16 02:21:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-16 02:21:01 +0300 |
commit | 9bf1513d24b3cd0faea021c28109c2295b2dc863 (patch) | |
tree | db2a1b3522baab748258cff530501c4a45d635a1 /static | |
parent | d62e961d0c52a9452d3dd22fc363ae8e15de350c (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.js | 13 |
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();
|