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:
0d9aa1a
)
Remove completely unnecessary mkwsBytarget wrapper element.
author
Mike Taylor
<mike@indexdata.com>
Wed, 7 May 2014 15:42:50 +0000
(16:42 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 7 May 2014 15:42:50 +0000
(16:42 +0100)
src/mkws-widget-main.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-main.js
b/src/mkws-widget-main.js
index
96937df
..
519d976
100644
(file)
--- a/
src/mkws-widget-main.js
+++ b/
src/mkws-widget-main.js
@@
-7,10
+7,7
@@
mkws.registerWidgetType('Targets', function() {
var that = this;
var M = mkws.M;
var that = this;
var M = mkws.M;
- $(this.node).html('\
-<div class="mkwsBytarget mkwsTeam_' + this.team.name() + '">\
-No information available yet.\
-</div>');
+ $(this.node).html('No information available yet.');
$(this.node).css("display", "none");
this.team.queue("targets").subscribe(function(data) {
$(this.node).css("display", "none");
this.team.queue("targets").subscribe(function(data) {
@@
-31,8
+28,7
@@
No information available yet.\
}
table += '</tbody></table>';
}
table += '</tbody></table>';
- var subnode = $(that.node).children('.mkwsBytarget');
- subnode.html(table);
+ $(that.node).html(table);
});
});
});
});