fixed the jQuery data() caching issue

This commit is contained in:
Rok Sprogar 2019-10-12 19:04:46 +02:00
parent badb135bd6
commit 8f6cb9d058
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ jQuery( function( $ ) {
var data = {};
$.each( $thisbutton.data(), function( key, value ) {
$.each( $thisbutton[0].dataset, function( key, value ) {
data[ key ] = value;
});