Skip to content

Commit 9021e8e

Browse files
committed
Update application.js
1 parent 1a630e2 commit 9021e8e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/assets/javascripts/application.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
1111
// about supported directives.
1212

13-
// It is important that generated/vendor-bundle must be before bootstrap since it is exposing jQuery and jQuery-ujs
13+
// CRITICAL that generated/vendor-bundle must be BEFORE bootstrap-sprockets and turbolinks since it is
14+
// exposing jQuery and jQuery-ujs
1415
//= require generated/vendor-bundle
1516
//= require generated/app-bundle
1617

17-
// Must go after the vendor-bundle, b/c vendor-bundle has jQuery.
18-
//= require bootstrap-sprockets
19-
18+
// Next two depend on jQuery
2019
//= require turbolinks
20+
//= require bootstrap-sprockets
2121

2222
//= require react_on_rails
2323

0 commit comments

Comments
 (0)