mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
Enh: Added editor instance as env
within registerMarkdownIt
This commit is contained in:
parent
bb99b12a38
commit
ad65f4b12c
@ -9,6 +9,8 @@ humhub.module('ui.gallery', function (module, require, $) {
|
||||
$(document).on('click.humhub:ui:gallery', '[data-ui-gallery]', function (evt) {
|
||||
var $this = $(this);
|
||||
|
||||
debugger;
|
||||
|
||||
if($this.is('img') && $this.closest('a').length) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user