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:
fb95a1c
)
All invocations of widget.hideWhenNarrow(w) changed to w.hideWhenNarrow()
author
Mike Taylor
<mike@indexdata.com>
Wed, 28 May 2014 14:37:52 +0000
(15:37 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 28 May 2014 14:37:52 +0000
(15:37 +0100)
src/mkws-widget-main.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-main.js
b/src/mkws-widget-main.js
index
5951c1c
..
3761752
100644
(file)
--- a/
src/mkws-widget-main.js
+++ b/
src/mkws-widget-main.js
@@
-216,7
+216,7
@@
mkws.registerWidgetType('Switch', function() {
<a href="#" onclick="mkws.switchView(\'' + tname + '\', \'records\')">Records</a><span> \
| \
</span><a href="#" onclick="mkws.switchView(\'' + tname + '\', \'targets\')">Targets</a>');
- widget.hideWhenNarrow(this);
+ this.hideWhenNarrow();
});
@@
-372,7
+372,7
@@
mkws.registerWidgetType('Lang', function() {
}
this.node.html(data);
- widget.hideWhenNarrow(this);
+ this.hideWhenNarrow();
// set or re-set "lang" URL parameter