diff --git a/app/javascript/packs/legacy-moderation.coffee b/app/javascript/packs/legacy-moderation.coffee deleted file mode 100644 index ce55e552..00000000 --- a/app/javascript/packs/legacy-moderation.coffee +++ /dev/null @@ -1,5 +0,0 @@ -import 'tempusdominus-bootstrap-4' - -require('tempusdominus-bootstrap-4/build/css/tempusdominus-bootstrap-4.css') - -$('.datetimepicker-input').datetimepicker({}) \ No newline at end of file diff --git a/app/views/layouts/base.haml b/app/views/layouts/base.haml index 8b87c3ac..8c5d6747 100644 --- a/app/views/layouts/base.haml +++ b/app/views/layouts/base.haml @@ -19,8 +19,6 @@ = javascript_pack_tag 'application', data: { 'turbolinks-track': 'reload' } = javascript_pack_tag 'legacy', data: { 'turbolinks-track': 'reload' } = stylesheet_pack_tag 'legacy', data: { 'turbolinks-track': 'reload' } - - if user_signed_in? && current_user.mod? - = javascript_pack_tag 'legacy-moderation', data: { 'turbolinks-track': 'reload' } = csrf_meta_tags = yield(:og) = yield(:meta)