Avoid dropdown panels to close on click
This commit is contained in:
parent
22d151b6ef
commit
77f3324873
@ -551,6 +551,11 @@ define([
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
// Avoid dropdown panels to close on click
|
||||
$("div.dropdown-menu").click(function(e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
return core;
|
||||
|
@ -28,9 +28,6 @@ define([
|
||||
var lineElement = $(_.template(buttonShareLocationHTML, {
|
||||
link: attributes.sharingLink
|
||||
}));
|
||||
lineElement.click(function(event) {
|
||||
event.stopPropagation();
|
||||
});
|
||||
linkList.append(lineElement);
|
||||
$("#link-container .no-link").hide();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user