FF weird bug workaround: delay initLint() by 100ms

This commit is contained in:
tophf 2017-12-25 09:28:26 +03:00
parent 5df76b04e2
commit f2efff64fd

View File

@ -261,7 +261,8 @@ function initHooks() {
$('#save-button').addEventListener('click', save, false);
$('#sections-help').addEventListener('click', showSectionHelp, false);
initLint();
// TODO: investigate why FF needs this delay
debounce(initLint, FIREFOX ? 100 : 0);
if (!FIREFOX) {
$$([