Remove now-obsolete toggle prevention function

This commit is contained in:
Lorenz Hübschle-Schneider 2014-07-17 14:18:03 +01:00
parent 63f30215ed
commit 15bb4a21d9
1 changed files with 0 additions and 4 deletions

View File

@ -1094,10 +1094,6 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
closest($event.target, '.gb-modal').setAttribute('data-state', 'hidden'); closest($event.target, '.gb-modal').setAttribute('data-state', 'hidden');
}; };
$scope.preventModalToggle = function(elementId, event) {
event.stopPropagation();
};
$scope.toggleAccordion = function(event) { $scope.toggleAccordion = function(event) {
event.stopPropagation(); event.stopPropagation();
event.preventDefault(); event.preventDefault();