Pull jquery using require.js rather than as a script tag and fix require to pass jquery as a parameter
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
define([
|
||||
'/bower_components/jquery/dist/jquery.min.js',
|
||||
'jquery',
|
||||
'/common/cryptpad-common.js',
|
||||
'/customize/translations/messages.js',
|
||||
], function (jQuery, Cryptpad, English) {
|
||||
var $ = window.jQuery;
|
||||
], function ($, Cryptpad, English) {
|
||||
|
||||
var $body = $('body');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user