And a couple more fixes #136
This commit is contained in:
parent
ee4ece2574
commit
254fa9959b
@ -8359,13 +8359,14 @@
|
||||
cb: this.node
|
||||
});
|
||||
},
|
||||
node: function(post) {
|
||||
var str, _ref;
|
||||
node: function() {
|
||||
var str, uid;
|
||||
|
||||
if (((_ref = $('.hand', this.nodes.uniqueID)) != null ? _ref.nodeName : void 0) !== 'SPAN') {
|
||||
str = this.info.uniqueID;
|
||||
uid = $('.hand', this.nodes.uniqueID);
|
||||
if (!(str && uid && uid.nodeName === 'SPAN')) {
|
||||
return;
|
||||
}
|
||||
str = this.info.uniqueID;
|
||||
return uid.style.cssText = IDColor.css(IDColor.ids[str] || IDColor.compute(str));
|
||||
},
|
||||
ids: {},
|
||||
|
||||
@ -8345,13 +8345,14 @@
|
||||
cb: this.node
|
||||
});
|
||||
},
|
||||
node: function(post) {
|
||||
var str, _ref;
|
||||
node: function() {
|
||||
var str, uid;
|
||||
|
||||
if (((_ref = $('.hand', this.nodes.uniqueID)) != null ? _ref.nodeName : void 0) !== 'SPAN') {
|
||||
str = this.info.uniqueID;
|
||||
uid = $('.hand', this.nodes.uniqueID);
|
||||
if (!(str && uid && uid.nodeName === 'SPAN')) {
|
||||
return;
|
||||
}
|
||||
str = this.info.uniqueID;
|
||||
return uid.style.cssText = IDColor.css(IDColor.ids[str] || IDColor.compute(str));
|
||||
},
|
||||
ids: {},
|
||||
|
||||
@ -6,9 +6,10 @@ IDColor =
|
||||
name: 'Color User IDs'
|
||||
cb: @node
|
||||
|
||||
node: (post) ->
|
||||
return unless $('.hand', @nodes.uniqueID)?.nodeName is 'SPAN'
|
||||
node: ->
|
||||
str = @info.uniqueID
|
||||
uid = $ '.hand', @nodes.uniqueID
|
||||
return unless str and uid and uid.nodeName is 'SPAN'
|
||||
uid.style.cssText = IDColor.css IDColor.ids[str] or IDColor.compute str
|
||||
|
||||
ids: {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user