remove trailing whitespace in js files
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
if (entry.disabled) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
var $post = $(post);
|
||||
var tags = String($post.attr("data-tags")).match(/\S+/g) || [];
|
||||
tags.push("rating:" + $post.data("rating"));
|
||||
|
||||
@@ -262,7 +262,7 @@
|
||||
var $img = $post.find("img");
|
||||
|
||||
var border_colors = [];
|
||||
|
||||
|
||||
if ($post.hasClass("post-status-has-children")) {
|
||||
border_colors.push("#0F0");
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
this.common_bind("#related-copyrights-button", "copyright");
|
||||
$("#find-artist-button").click(Danbooru.RelatedTag.find_artist);
|
||||
}
|
||||
|
||||
|
||||
Danbooru.RelatedTag.tags_include = function(name) {
|
||||
var current = $("#upload_tag_string,#post_tag_string").val().toLowerCase().match(/\S+/g) || [];
|
||||
if ($.inArray(name.toLowerCase(), current) > -1) {
|
||||
|
||||
Reference in New Issue
Block a user