From: Mike Taylor Date: Thu, 6 Nov 2014 09:44:09 +0000 (+0000) Subject: Remove unnecessary (and unused) hardwired default. X-Git-Tag: 1.0.0~74 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=6bd6b79fe02808c9cbc19c44f7d8355637e13fb3;p=mkws-moved-to-github.git Remove unnecessary (and unused) hardwired default. --- diff --git a/src/mkws-widget-main.js b/src/mkws-widget-main.js index c161686..53e2f5c 100644 --- a/src/mkws-widget-main.js +++ b/src/mkws-widget-main.js @@ -288,7 +288,7 @@ mkws.registerWidgetType('lang', function() { var list = []; /* display a list of configured languages, or all */ - var lang_options = this.config.lang_options || []; + var lang_options = this.config.lang_options; var toBeIncluded = {}; for (var i = 0; i < lang_options.length; i++) { toBeIncluded[lang_options[i]] = true;