fix jlist rss ads
This commit is contained in:
@@ -85,6 +85,7 @@
|
|||||||
$image.height($image.data("original-height"));
|
$image.height($image.data("original-height"));
|
||||||
Danbooru.Note.Box.scale_all();
|
Danbooru.Note.Box.scale_all();
|
||||||
$("#image-resize-notice").hide();
|
$("#image-resize-notice").hide();
|
||||||
|
Danbooru.Post.place_jlist_ads();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -169,6 +169,9 @@ div#c-posts {
|
|||||||
|
|
||||||
div#jlist-rss-ads-for-show {
|
div#jlist-rss-ads-for-show {
|
||||||
float: right;
|
float: right;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
menu#post-sections {
|
menu#post-sections {
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ module Danbooru
|
|||||||
|
|
||||||
# Determines who can see ads.
|
# Determines who can see ads.
|
||||||
def can_see_ads?(user)
|
def can_see_ads?(user)
|
||||||
false
|
!user.is_privileged?
|
||||||
end
|
end
|
||||||
|
|
||||||
# This is required for Rails 2.0.
|
# This is required for Rails 2.0.
|
||||||
|
|||||||
Reference in New Issue
Block a user