Fix ALC and Posts jQuery dependencies

This commit is contained in:
Tautvidas Sipavičius
2015-09-09 14:30:22 +03:00
parent 8ac9799df6
commit 7cdf8e70c7
2 changed files with 3 additions and 3 deletions

View File

@ -208,7 +208,7 @@ define([
},
}).trigger( 'change' ).on({
'change': function(e){
var data = $(this).data('selected');
var data = jQuery(this).data('selected');
if (typeof data === 'string') {
if (data === '') {
@ -229,7 +229,7 @@ define([
// Update ALC model
that.model.set('terms', data);
$(this).data('selected', JSON.stringify(data));
jQuery(this).data('selected', JSON.stringify(data));
}
});
},

View File

@ -347,7 +347,7 @@ define([
// Update ALC model
that.model.set('terms', data);
$(this).data('selected', JSON.stringify(data));
jQuery(this).data('selected', JSON.stringify(data));
}
});
},