mirror of
https://github.com/chinchang/web-maker.git
synced 2025-06-10 11:45:10 +02:00
eslint fixes.
This commit is contained in:
parent
1bfc80fdc3
commit
568eaceb6d
@ -81,7 +81,7 @@
|
|||||||
"no-alert": "off",
|
"no-alert": "off",
|
||||||
"no-array-constructor": "error",
|
"no-array-constructor": "error",
|
||||||
"no-bitwise": "off",
|
"no-bitwise": "off",
|
||||||
"no-caller": "error",
|
"no-caller": "off",
|
||||||
"no-console": "off",
|
"no-console": "off",
|
||||||
"no-catch-shadow": "error",
|
"no-catch-shadow": "error",
|
||||||
"no-confusing-arrow": "error",
|
"no-confusing-arrow": "error",
|
||||||
|
@ -364,7 +364,7 @@ settingsBtn, onboardModal, notificationsBtn */
|
|||||||
addLibraryModal.classList.remove('is-modal-visible');
|
addLibraryModal.classList.remove('is-modal-visible');
|
||||||
onboardModal.classList.remove('is-modal-visible');
|
onboardModal.classList.remove('is-modal-visible');
|
||||||
toggleSavedItemsPane(false);
|
toggleSavedItemsPane(false);
|
||||||
document.dispatchEvent( new Event('overlaysClosed'));
|
document.dispatchEvent(new Event('overlaysClosed'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -947,7 +947,7 @@ settingsBtn, onboardModal, notificationsBtn */
|
|||||||
onboardModal.classList.add('is-modal-visible');
|
onboardModal.classList.add('is-modal-visible');
|
||||||
trackEvent('ui', 'onboardModalSeen');
|
trackEvent('ui', 'onboardModalSeen');
|
||||||
// set the current version as seen on closing the onboard modal
|
// set the current version as seen on closing the onboard modal
|
||||||
utils.once(document, 'overlaysClosed', function (e) {
|
utils.once(document, 'overlaysClosed', function () {
|
||||||
chrome.storage.sync.set({
|
chrome.storage.sync.set({
|
||||||
lastSeenVersion: version
|
lastSeenVersion: version
|
||||||
}, function () {});
|
}, function () {});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user