mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-19 13:01:12 +02:00
script: fix a extension condition
This commit is contained in:
@@ -507,7 +507,7 @@ loginModal, profileModal, profileAvatarImg, profileUserName, openItemsBtn
|
||||
var d = deferred();
|
||||
savedItems = savedItems || {};
|
||||
var items = [];
|
||||
if (!window.IS_EXTENSION && window.user) {
|
||||
if (window.user) {
|
||||
items = await itemService.getAllItems();
|
||||
utils.log('got items')
|
||||
if (shouldSaveGlobally) {
|
||||
|
Reference in New Issue
Block a user