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