diff --git a/binderhub/static/js/index.js b/binderhub/static/js/index.js index 19f846cb5..6d2673500 100644 --- a/binderhub/static/js/index.js +++ b/binderhub/static/js/index.js @@ -13,7 +13,6 @@ import { Terminal } from 'xterm'; import { FitAddon } from 'xterm-addon-fit'; import ClipboardJS from 'clipboard'; -import 'bootstrap'; import 'event-source-polyfill'; import BinderImage from './src/image'; @@ -22,8 +21,12 @@ import { getPathType, updatePathText } from './src/path'; import { nextHelpText } from './src/loading'; import 'xterm/css/xterm.css'; + +// Include just the bootstrap components we use +import 'bootstrap/js/dropdown'; import 'bootstrap/dist/css/bootstrap.min.css'; import 'bootstrap/dist/css/bootstrap-theme.min.css'; + import '../index.css'; const BASE_URL = $('#base-url').data().url;