1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-13 18:16:19 +02:00

add event for writefile message

This commit is contained in:
Kushagra Gour
2017-05-31 03:07:18 +05:30
parent 9998aab604
commit d02aa5d5af

View File

@ -777,6 +777,7 @@ runBtn, searchInput, consoleEl, consoleLogEl, logCountEl, fontStyleTag, fontStyl
if (writeFile.errorCount === 10) {
setTimeout(function () {
alert('Oops! Seems like your preview isn\'t updating. Please try the following steps until it fixes:\n - Refresh Web Maker\n - Restart Chrome browser\n - Reinstall Web Maker (don\'t forget to export all your creations from saved items pane (click the OPEN button) before reinstalling)\n\nIf nothing works, please tweet out to @webmakerApp.');
trackEvent('ui', 'writeFileMessageSeen');
}, 1000)
}
}