mirror of
https://github.com/discourse/discourse.git
synced 2025-04-25 13:24:31 +08:00
Oops, jshint fail. I never remember the triple equals
This commit is contained in:
parent
442be64d5e
commit
f517fa6099
@ -372,7 +372,7 @@ Discourse.Topic = Discourse.Model.extend({
|
||||
|
||||
excerptTruncated: function() {
|
||||
var e = this.get('excerpt');
|
||||
return( e && e.substr(e.length - 8,8) == '…' );
|
||||
return( e && e.substr(e.length - 8,8) === '…' );
|
||||
}.property('excerpt')
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user