mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Robin sucks at jshint
This commit is contained in:
parent
4711cb4716
commit
b9fee3bf00
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue