Skip to content

Commit a8e3444

Browse files
authored
Merge pull request #1394 from yuvipanda/no-js
Include JS for *just* the bootstrap components we use
2 parents c08d5db + b448363 commit a8e3444

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

binderhub/static/js/index.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import { Terminal } from 'xterm';
1414
import { FitAddon } from 'xterm-addon-fit';
1515
import ClipboardJS from 'clipboard';
16-
import 'bootstrap';
1716
import 'event-source-polyfill';
1817

1918
import BinderImage from './src/image';
@@ -22,8 +21,12 @@ import { getPathType, updatePathText } from './src/path';
2221
import { nextHelpText } from './src/loading';
2322

2423
import 'xterm/css/xterm.css';
24+
25+
// Include just the bootstrap components we use
26+
import 'bootstrap/js/dropdown';
2527
import 'bootstrap/dist/css/bootstrap.min.css';
2628
import 'bootstrap/dist/css/bootstrap-theme.min.css';
29+
2730
import '../index.css';
2831

2932
const BASE_URL = $('#base-url').data().url;

0 commit comments

Comments
 (0)