Cleanup
This commit is contained in:
@@ -37,7 +37,6 @@ app.directive('appPopoverMenuUtils', function () {
|
|||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
});
|
});
|
||||||
scope.$on('documentClicked', function (scope, event) {
|
scope.$on('documentClicked', function (scope, event) {
|
||||||
e.stopPropagation();
|
|
||||||
if (event.target !== button) {
|
if (event.target !== button) {
|
||||||
menu.addClass('hidden');
|
menu.addClass('hidden');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -665,7 +665,6 @@ app.directive('appPopoverMenuUtils', function () {
|
|||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
});
|
});
|
||||||
scope.$on('documentClicked', function (scope, event) {
|
scope.$on('documentClicked', function (scope, event) {
|
||||||
e.stopPropagation();
|
|
||||||
if (event.target !== button) {
|
if (event.target !== button) {
|
||||||
menu.addClass('hidden');
|
menu.addClass('hidden');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user