Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit a5c6f74

Browse files
committed
Fix
1 parent d1e7e64 commit a5c6f74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modal/modal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.stackedMap', 'ui.bootstrap.p
151151
var modal = $modalStack.getTop();
152152
if (modal && modal.value.backdrop &&
153153
modal.value.backdrop !== 'static' &&
154+
evt.target === evt.currentTarget &&
154155
scope.mouseDownEvt && scope.mouseUpEvt &&
155156
scope.mouseDownEvt.target === scope.mouseUpEvt.target) {
156157
evt.preventDefault();

0 commit comments

Comments
 (0)