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:
cc2d698
)
Moving MOTD is now done using jqnode rather than underlying DOM node.
author
Mike Taylor
<mike@indexdata.com>
Thu, 15 May 2014 14:29:18 +0000
(15:29 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 15 May 2014 14:29:18 +0000
(15:29 +0100)
... which I *think* means we no longer need the "node" member.
src/mkws-widget-main.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-main.js
b/src/mkws-widget-main.js
index
55d628d
..
8cfad61
100644
(file)
--- a/
src/mkws-widget-main.js
+++ b/
src/mkws-widget-main.js
@@
-400,7
+400,7
@@
mkws.registerWidgetType('MOTD', function() {
var container = this.team.widget('MOTDContainer');
if (container) {
// Move the MOTD from the provided element down into the container
- this.jqnode.appendTo(container.node); // #### can this be container.jqnode
+ this.jqnode.appendTo(container.jqnode);
}
});