Merge pull request #12605 from petrgazarov/fix/upgrade-jquery-major-version
Bump JQuery major version - to 3.1.1
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"d3": "~3.5.5",
|
||||
"jquery": "~2.1.4",
|
||||
"jquery": "~3.1.1",
|
||||
"cal-heatmap": "~3.5.2",
|
||||
"bootstrap": "~3.3.4",
|
||||
"font-awesome": "~4.5.0",
|
||||
|
@ -17,7 +17,7 @@ $(document).ready(function() {
|
||||
|
||||
setCSRFToken($('meta[name="csrf-token"]').attr('content'));
|
||||
|
||||
$('img').error(function() {
|
||||
$('img').on('error', function() {
|
||||
$(this)
|
||||
.unbind('error')
|
||||
.attr(
|
||||
@ -69,7 +69,7 @@ $(document).ready(function() {
|
||||
dataType: 'json'
|
||||
};
|
||||
return $.ajax(options)
|
||||
.success(() => console.log('theme updated successfully'))
|
||||
.done(() => console.log('theme updated successfully'))
|
||||
.fail(err => {
|
||||
let message;
|
||||
try {
|
||||
|
Reference in New Issue
Block a user