Fix ALC and Posts jQuery dependencies
This commit is contained in:
@ -208,7 +208,7 @@ define([
|
|||||||
},
|
},
|
||||||
}).trigger( 'change' ).on({
|
}).trigger( 'change' ).on({
|
||||||
'change': function(e){
|
'change': function(e){
|
||||||
var data = $(this).data('selected');
|
var data = jQuery(this).data('selected');
|
||||||
|
|
||||||
if (typeof data === 'string') {
|
if (typeof data === 'string') {
|
||||||
if (data === '') {
|
if (data === '') {
|
||||||
@ -229,7 +229,7 @@ define([
|
|||||||
// Update ALC model
|
// Update ALC model
|
||||||
that.model.set('terms', data);
|
that.model.set('terms', data);
|
||||||
|
|
||||||
$(this).data('selected', JSON.stringify(data));
|
jQuery(this).data('selected', JSON.stringify(data));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -347,7 +347,7 @@ define([
|
|||||||
// Update ALC model
|
// Update ALC model
|
||||||
that.model.set('terms', data);
|
that.model.set('terms', data);
|
||||||
|
|
||||||
$(this).data('selected', JSON.stringify(data));
|
jQuery(this).data('selected', JSON.stringify(data));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user