Fixed tagging uploaded posts in Chrome
This commit is contained in:
parent
b5d6e4837d
commit
9b2238d423
1 changed files with 3 additions and 1 deletions
|
@ -441,7 +441,9 @@ App.Presenters.PostUploadPresenter = function(
|
|||
}
|
||||
|
||||
function getTagIndex(post, tag) {
|
||||
var tags = jQuery.map(post.tags, String.toLowerCase);
|
||||
var tags = jQuery.map(post.tags, function(tag) {
|
||||
return tag.toLowerCase();
|
||||
});
|
||||
return tags.indexOf(tag.toLowerCase());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue