mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-10 00:16:18 +02:00
final slash
This commit is contained in:
@ -32,4 +32,9 @@ chrome.runtime.onInstalled.addListener(function callback (details) {
|
||||
if (details.reason === 'install') {
|
||||
openApp();
|
||||
}
|
||||
if (details.reason === 'update') {
|
||||
if ((details.previousVersion + '').indexOf('1.') === 0) {
|
||||
openApp();
|
||||
}
|
||||
}
|
||||
});
|
@ -9,7 +9,7 @@ settingsBtn, onboardModal, notificationsBtn */
|
||||
|
||||
/* eslint-enable no-extra-semi */
|
||||
var scope = scope || {};
|
||||
var version = '1.7.1';
|
||||
var version = '2.0.0';
|
||||
|
||||
if (window.DEBUG) {
|
||||
window.scope = scope;
|
||||
@ -715,7 +715,7 @@ settingsBtn, onboardModal, notificationsBtn */
|
||||
layoutBtn3.addEventListener('click', function () { saveSetting('layoutMode', 3); toggleLayout(3); return false; });
|
||||
|
||||
utils.onButtonClick(helpBtn, function () {
|
||||
onboardModal.classList.toggle('is-modal-visible');
|
||||
helpModal.classList.toggle('is-modal-visible');
|
||||
document.body.classList[onboardModal.classList.contains('is-modal-visible') ? 'add' : 'remove']('overlay-visible');
|
||||
trackEvent('ui', 'helpButtonClick');
|
||||
});
|
||||
|
@ -480,14 +480,14 @@ select, input[type="text"], textarea {
|
||||
}
|
||||
}
|
||||
.notifications-btn.has-new {
|
||||
animation: shake 10s linear infinite;
|
||||
animation: shake 7s linear infinite;
|
||||
transform-origin: 50% 10px;
|
||||
}
|
||||
.notifications-btn__dot {
|
||||
position: absolute;
|
||||
right: 1;
|
||||
top: -2px;
|
||||
background: #2fbe3d;
|
||||
background: #31fe45;
|
||||
border-radius: 50%;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
|
Reference in New Issue
Block a user