projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0d33d0
)
Remove unnecessary (and unused) hardwired default.
author
Mike Taylor
<mike@indexdata.com>
Thu, 6 Nov 2014 09:44:09 +0000
(09:44 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 6 Nov 2014 09:44:09 +0000
(09:44 +0000)
src/mkws-widget-main.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-main.js
b/src/mkws-widget-main.js
index
c161686
..
53e2f5c
100644
(file)
--- 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;