misc: add possibility to mark popup links with data-popup (#34908)
This commit is contained in:
parent
a3a3053986
commit
b2dcd94a54
|
@ -319,7 +319,7 @@ var gadjo_js = gadjo_js || {};
|
|||
return sidepage_status;
|
||||
}
|
||||
|
||||
$(document).on('click.gadjo', 'a[rel=popup]', displayPopup);
|
||||
$(document).on('click.gadjo', 'a[rel=popup], a[data-popup]', displayPopup);
|
||||
if ($('#sidepage').length) {
|
||||
var sidepage_button = $('#sidepage #applabel');
|
||||
sidepage_button.on('click', function() {
|
||||
|
|
Loading…
Reference in New Issue