mirror of
https://github.com/chinchang/web-maker.git
synced 2025-06-04 08:34:55 +02:00
eslint fixes.
This commit is contained in:
parent
1bfc80fdc3
commit
568eaceb6d
@ -81,7 +81,7 @@
|
||||
"no-alert": "off",
|
||||
"no-array-constructor": "error",
|
||||
"no-bitwise": "off",
|
||||
"no-caller": "error",
|
||||
"no-caller": "off",
|
||||
"no-console": "off",
|
||||
"no-catch-shadow": "error",
|
||||
"no-confusing-arrow": "error",
|
||||
|
@ -364,7 +364,7 @@ settingsBtn, onboardModal, notificationsBtn */
|
||||
addLibraryModal.classList.remove('is-modal-visible');
|
||||
onboardModal.classList.remove('is-modal-visible');
|
||||
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');
|
||||
trackEvent('ui', 'onboardModalSeen');
|
||||
// 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({
|
||||
lastSeenVersion: version
|
||||
}, function () {});
|
||||
|
Loading…
x
Reference in New Issue
Block a user