enable view count js globally
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
<% if CurrentUser.user.is_moderator? %>
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
$.post("<%= Danbooru.config.reportbooru_server %>/post_views", {
|
$.post("<%= Danbooru.config.reportbooru_server %>/post_views", {
|
||||||
@@ -6,4 +5,3 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<% end %>
|
|
||||||
Reference in New Issue
Block a user