diff --git a/public_html/js/Presenters/PostUploadPresenter.js b/public_html/js/Presenters/PostUploadPresenter.js index 580fa870..8639cd0f 100644 --- a/public_html/js/Presenters/PostUploadPresenter.js +++ b/public_html/js/Presenters/PostUploadPresenter.js @@ -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()); }