summaryrefslogtreecommitdiff
path: root/program/js/list.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-02-01 09:08:17 +0000
committeralecpl <alec@alec.pl>2011-02-01 09:08:17 +0000
commitef4f591a1d6c348d6236f39a061071457ec192e4 (patch)
tree3898f32da07869ed2e059f7df34444a9cdd73585 /program/js/list.js
parentd8cf6d7278072d49902f5e29ee2faed14aa0f451 (diff)
- Unify typeof and undefined usage
Diffstat (limited to 'program/js/list.js')
-rw-r--r--program/js/list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js
index 183223a51..488b2362b 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -58,7 +58,7 @@ function rcube_list_widget(list, p)
this.row_init = function(){};
// overwrite default paramaters
- if (p && typeof(p) == 'object')
+ if (p && typeof p === 'object')
for (var n in p)
this[n] = p[n];
};