Merge pull request #4461 from oliverguenther/fix/scrolling-listener

Remove dropdown scroll listener
pull/4478/head
ulferts 9 years ago
commit d88e237e56
  1. 7
      frontend/app/components/context-menus/has-dropdown-menu/has-dropdown-menu-directive.js

@ -243,13 +243,6 @@ function hasDropdownMenu($rootScope, $injector, $window, FocusHelper) {
// or move to the compile function of the directive // or move to the compile function of the directive
// or move to a service and make sure it's called only once // or move to a service and make sure it's called only once
var repositioningEventString = 'resize.dropdown.openproject, mousewheel.dropdown.openproject';
win
.off(repositioningEventString)
.on(repositioningEventString, function () {
$rootScope.$broadcast('openproject.dropdown.reposition');
});
var keyUpEventString = 'keyup.dropdown.openproject'; var keyUpEventString = 'keyup.dropdown.openproject';
win win
.off(keyUpEventString).on(keyUpEventString, function (event) { .off(keyUpEventString).on(keyUpEventString, function (event) {

Loading…
Cancel
Save