misc: add possibility to mark popup links with data-popup (#34908)

This commit is contained in:
Frédéric Péters 2019-07-16 16:16:45 +02:00
parent a3a3053986
commit b2dcd94a54
1 changed files with 1 additions and 1 deletions

View File

@ -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() {