2019-08-16 23:25:07 +00:00
|
|
|
$(document).on('turbolinks:load', function() {
|
|
|
|
$('.taggable').each(function() {
|
|
|
|
this.innerHTML = '';
|
|
|
|
|
|
|
|
new InputTag({
|
|
|
|
target: this,
|
|
|
|
props: { ...this.dataset }
|
|
|
|
});
|
|
|
|
});
|
2020-01-28 21:05:59 +00:00
|
|
|
|
|
|
|
$('.mapable').each(function() {
|
|
|
|
this.innerHTML = '';
|
|
|
|
|
|
|
|
new InputMap({
|
|
|
|
target: this,
|
|
|
|
props: { ...this.dataset }
|
|
|
|
});
|
|
|
|
});
|
2019-08-16 23:25:07 +00:00
|
|
|
});
|