From f70b54c3e3290b4cf1e7297d5537dcb2c2929e4f Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 1 Feb 2011 09:08:17 +0000 Subject: - Unify typeof and undefined usage git-svn-id: https://svn.roundcube.net/trunk@4477 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/js/list.js') diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js index 183223a51..488b2362b 100644 --- a/roundcubemail/program/js/list.js +++ b/roundcubemail/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]; }; -- cgit v1.2.3