Skip to content

Commit 364c6b0

Browse files
authored
Including alerts.js and changing loading order
Alerts currently can't be dismissed in the symfony-demo app. Also, updating the loading order to a correct one: https://github.com/twbs/bootstrap-sass#javascript
1 parent f9d3a94 commit 364c6b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

assets/js/app.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// loads the Bootstrap jQuery plugins
2+
import 'bootstrap-sass/assets/javascripts/bootstrap/transition.js';
3+
import 'bootstrap-sass/assets/javascripts/bootstrap/alerts.js';
24
import 'bootstrap-sass/assets/javascripts/bootstrap/collapse.js';
35
import 'bootstrap-sass/assets/javascripts/bootstrap/dropdown.js';
46
import 'bootstrap-sass/assets/javascripts/bootstrap/modal.js';
5-
import 'bootstrap-sass/assets/javascripts/bootstrap/transition.js';
67

78
// loads the code syntax highlighting library
89
import './highlight.js';

0 commit comments

Comments
 (0)