Skip to content

Commit

Permalink
Do not include jQuery twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-mironchik committed Jan 28, 2021
1 parent 633fc0e commit dcfac7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/assets/js/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ window._ = require('lodash');
*/

try {
window.$ = window.jQuery = require('jquery');
if (!window.$) {
window.$ = window.jQuery = require('jquery');
}

//require('bootstrap-sass');
} catch (e) {}
Expand Down

0 comments on commit dcfac7e

Please sign in to comment.