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