enable view count js globally

This commit is contained in:
r888888888
2017-11-10 14:37:48 -08:00
parent 6431dafa80
commit 5e247df8ec

View File

@@ -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 %>