Merge pull request #1814 from pavel-mironchik/bootstrap-jquery

Do not include jQuery twice.
This commit is contained in:
Cüneyt Şentürk 2021-01-29 09:56:04 +03:00 committed by GitHub
commit 8ad02c8c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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) {}