remove trailing whitespace in js files

This commit is contained in:
Toks
2013-06-19 20:07:22 -04:00
parent b7b00f53b4
commit ba539b0e18
3 changed files with 3 additions and 3 deletions

View File

@@ -104,7 +104,7 @@
if (entry.disabled) { if (entry.disabled) {
return false; return false;
} }
var $post = $(post); var $post = $(post);
var tags = String($post.attr("data-tags")).match(/\S+/g) || []; var tags = String($post.attr("data-tags")).match(/\S+/g) || [];
tags.push("rating:" + $post.data("rating")); tags.push("rating:" + $post.data("rating"));

View File

@@ -262,7 +262,7 @@
var $img = $post.find("img"); var $img = $post.find("img");
var border_colors = []; var border_colors = [];
if ($post.hasClass("post-status-has-children")) { if ($post.hasClass("post-status-has-children")) {
border_colors.push("#0F0"); border_colors.push("#0F0");
} }

View File

@@ -16,7 +16,7 @@
this.common_bind("#related-copyrights-button", "copyright"); this.common_bind("#related-copyrights-button", "copyright");
$("#find-artist-button").click(Danbooru.RelatedTag.find_artist); $("#find-artist-button").click(Danbooru.RelatedTag.find_artist);
} }
Danbooru.RelatedTag.tags_include = function(name) { Danbooru.RelatedTag.tags_include = function(name) {
var current = $("#upload_tag_string,#post_tag_string").val().toLowerCase().match(/\S+/g) || []; var current = $("#upload_tag_string,#post_tag_string").val().toLowerCase().match(/\S+/g) || [];
if ($.inArray(name.toLowerCase(), current) > -1) { if ($.inArray(name.toLowerCase(), current) > -1) {