Skip to content

Commit

Permalink
Updated settings in upgrade function
Browse files Browse the repository at this point in the history
-Added default_list_open to the settings object when the upgrade is performed
  • Loading branch information
EuanRiggans committed Jul 19, 2018
1 parent 52b439d commit 931e54f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/bulkopen.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@ function upgradeToJSONFormatting() {
object_description: "user_settings",
tab_creation_delay: parseInt(tempArray[1]),
night_mode: 0,
auto_open_lists: 0
auto_open_lists: 0,
default_list_open: -1
};
localStorage.setItem("settings", JSON.stringify(newSettings));
}
Expand Down

0 comments on commit 931e54f

Please sign in to comment.