From d4d8e9560b88fcf512ae192ddd9119a564be6ee0 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 24 Nov 2014 10:02:20 -0500 Subject: [PATCH] fix(config) onLocalStorageChange map: el, number -> getById id, el --- lib/client/config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/client/config.js b/lib/client/config.js index b6fb90e3..bc6b711a 100644 --- a/lib/client/config.js +++ b/lib/client/config.js @@ -251,7 +251,9 @@ var CloudCmd, Util, DOM, io; function onLocalStorageChange() { var names = ['diff', 'buffer', 'dirStorage', 'localStorage'], - elements = names.map(DOM.getById), + elements = names.map(function(name) { + return DOM.getById(name); + }), el = {}, msg = 'Diff, Buffer and Directory Storage do not work without localStorage',