Skip to content

Commit

Permalink
CoreWM: Wrong check type on panelitem init (Fixes #155)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersevenrud committed Aug 26, 2015
1 parent 1febf52 commit 9ef15ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/default/CoreWM/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@

(storedItem.items || []).forEach(function(iter) {
try {
if ( !iter.settings ) {
if ( typeof iter.settings === 'undefined' || iter.settings === null ) {
iter.settings = {};
}

Expand Down

0 comments on commit 9ef15ff

Please sign in to comment.