mirror of
https://github.com/discourse/discourse.git
synced 2025-04-26 16:24:28 +08:00
Robin sucks at jshint
This commit is contained in:
parent
4711cb4716
commit
b9fee3bf00
@ -14,7 +14,7 @@ Discourse.HotnessView = Discourse.View.extend({
|
||||
// Our scale goes to 11!
|
||||
for (var i=1; i<12; i++) {
|
||||
buffer.push("<button value='" + i + "'");
|
||||
if (this.get('hotness') == i) {
|
||||
if (this.get('hotness') === i) {
|
||||
buffer.push(" class='selected'");
|
||||
}
|
||||
buffer.push(">" + i + "</button>");
|
||||
|
Loading…
x
Reference in New Issue
Block a user