set to none for enough

This commit is contained in:
ntr 2018-12-21 23:32:52 +11:00
parent d6a64b24e9
commit e009e19706

View File

@ -4,7 +4,7 @@ const OK_BUTTON = '<button type="submit">OK</button>';
const NO_MORE_BUTTON = '<button type="submit">Enough already...</button>'; const NO_MORE_BUTTON = '<button type="submit">Enough already...</button>';
function noMore(instance, thisToast) { function noMore(instance, thisToast) {
window.localStorage.set('tutorial', 'none'); window.localStorage.setItem('tutorial', 'none');
return instance.hide({ transitionOut: 'fadeOut' }, thisToast); return instance.hide({ transitionOut: 'fadeOut' }, thisToast);
} }