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