changed name of data attribute

This commit is contained in:
Zanz2 2018-09-07 15:33:38 +02:00
parent 4e55fdc9b5
commit a0c6a0c407

View file

@ -2,7 +2,7 @@
'use strict';
$.init_popover_v2 = function() {
if ($(document.body).data("popover_v2_enabled")===true || $(document.body).data("popover_v2_enabled")== null ){
if ($(document.body).data("tooltips-enabled")===true || $(document.body).data("tooltips-enabled")== null ){
var popovers_array = [];
$('.popover_open').remove() // Destroy all (if any) old open popovers
$('.popover_v2').each(function(i,obj) {