Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 19fa58b

Browse files
Added missing brackets.
1 parent 073e8f9 commit 19fa58b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui-layout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ angular.module('ui.layout', [])
176176
(mouseEvent.originalEvent && mouseEvent.originalEvent[ctrl.sizeProperties.mouseProperty]) ||
177177
// jQuery does touches weird, see #82
178178
($window.jQuery ?
179-
(mouseEvent.originalEvent ? mouseEvent.originalEvent.targetTouches && mouseEvent.originalEvent.targetTouches[0][ctrl.sizeProperties.mouseProperty] : null) :
179+
(mouseEvent.originalEvent ? (mouseEvent.originalEvent.targetTouches && mouseEvent.originalEvent.targetTouches[0][ctrl.sizeProperties.mouseProperty]) : null) :
180180
(mouseEvent.targetTouches ? mouseEvent.targetTouches[0][ctrl.sizeProperties.mouseProperty] : null));
181181

182182
if(mousePos === null) return;

0 commit comments

Comments
 (0)