Skip to content

Commit

Permalink
Fixes mcasimir#407 format!
Browse files Browse the repository at this point in the history
  • Loading branch information
Rouche committed Nov 14, 2016
1 parent 5a0f937 commit a61ac04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/gestures/swipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@
link: function(scope, elem, attrs) {
var onSwipe = $parse(attrs[directiveName]);
var options;
if (attrs["uiMobileOptions"]) {
var parseFn = $parse(attrs["uiMobileOptions"]);
if (attrs.uiMobileOptions) {
var parseFn = $parse(attrs.uiMobileOptions);
options = parseFn(scope);
}
$swipe.bind(elem, {
Expand Down

0 comments on commit a61ac04

Please sign in to comment.