1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-06-11 04:00:54 +02:00

fix(style.js): stop preview until settings are retrieved fixes #283

This commit is contained in:
Kushagra Gour
2018-04-08 01:26:07 +05:30
parent d5e374e72f
commit bd1ef4b4eb

View File

@ -1185,6 +1185,10 @@ loginModal, profileModal, profileAvatarImg, profileUserName, openItemsBtn, askTo
}
scope.setPreviewContent = function(isForced) {
if (!prefs.autoPreview) {
return;
}
if (!prefs.preserveConsoleLogs) {
scope.clearConsole();
}