Skip to content

Commit

Permalink
init default settings before loading editor because I'm stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
luto committed Jan 17, 2015
1 parent 0e3c412 commit 634b1a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/js/editor/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,8 @@ if (typeof yasp.Storage == 'undefined') yasp.Storage = isLocalStorageEnabled ()
}

$('body').ready(function() {
initStorage();

initLinting();
initHinting();

Expand All @@ -751,8 +753,6 @@ if (typeof yasp.Storage == 'undefined') yasp.Storage = isLocalStorageEnabled ()

cacheUsbMasterImage();

initStorage();

yasp.Editor.popups.init();

yasp.l10n.translateDocument();
Expand Down

0 comments on commit 634b1a6

Please sign in to comment.