diff --git a/apps/explorer_web/assets/js/app.js b/apps/explorer_web/assets/js/app.js index c353606e5b..70766708c7 100644 --- a/apps/explorer_web/assets/js/app.js +++ b/apps/explorer_web/assets/js/app.js @@ -18,12 +18,10 @@ import 'bootstrap' // Local files can be imported directly using relative // paths "./socket" or full ones "web/static/js/socket". -import './lib/card_flip' import './lib/clipboard_buttons' import './lib/from_now' import './lib/market_history_chart' import './lib/reload_button' -import './lib/sidebar' import './lib/tooltip' import './pages/address' diff --git a/apps/explorer_web/assets/js/lib/card_flip.js b/apps/explorer_web/assets/js/lib/card_flip.js deleted file mode 100644 index 983a24b6f3..0000000000 --- a/apps/explorer_web/assets/js/lib/card_flip.js +++ /dev/null @@ -1,11 +0,0 @@ -import $ from 'jquery' - -$('.rotatecard').click(function () { - $(this).parents('.front').toggleClass('flipped') - $(this).parentsUntil('.theme__ribbon').next('.back').toggleClass('backflip') -}) - -$('.rotatecardback').click(function () { - $(this).parentsUntil('.panel').prev('.front').toggleClass('flipped') - $(this).parents('.back').toggleClass('backflip') -}) diff --git a/apps/explorer_web/assets/js/lib/sidebar.js b/apps/explorer_web/assets/js/lib/sidebar.js deleted file mode 100644 index c7e9878d4e..0000000000 --- a/apps/explorer_web/assets/js/lib/sidebar.js +++ /dev/null @@ -1,6 +0,0 @@ -import $ from 'jquery' - -$('#sidebarCollapse').on('click', function () { - $('#sidebar--container').toggleClass('active') - $(this).toggleClass('active') -})