Kill trailing whitespaces in javascript files

This commit is contained in:
小太
2013-03-19 23:09:22 +11:00
parent 35f1304157
commit c107f96cec
25 changed files with 128 additions and 128 deletions

View File

@@ -1,19 +1,19 @@
(function() {
Danbooru.NewsUpdate = {};
Danbooru.NewsUpdate.initialize = function() {
var key = $("#news-updates").data("updated-at");
if (Danbooru.Cookie.get("news-ticker") === key) {
$("#news-updates").hide();
} else {
$("#close-news-ticker-link").click(function(e) {
$("#news-updates").hide();
Danbooru.Cookie.put("news-ticker", key);
// need to reset the more link
$("#more-links").hide().offset({top: $("#site-map-link").offset().top + $("#site-map-link").height() + 10, left: $("#site-map-link").offset().left});
$("#more-links").hide().offset({top: $("#site-map-link").offset().top + $("#site-map-link").height() + 10, left: $("#site-map-link").offset().left});
return false;
});
}