mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed tagging uploaded posts in Chrome
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user