@@ -347,8 +347,8 @@ angular.module('angularBootstrapMaterial').factory('ripple', function () {
347347 * Make sure the user is using only one finger and then get the touch
348348 * position relative to the ripple wrapper
349349 */
350- event = event . originalEvent ;
351-
350+ if ( event . originalEvent ) // Do this only ifjQuery is present for some reason
351+ event = event . originalEvent
352352 if ( event . touches . length === 1 ) {
353353 return event . touches [ 0 ] . pageX - wrapperOffset . left ;
354354 }
@@ -374,7 +374,8 @@ angular.module('angularBootstrapMaterial').factory('ripple', function () {
374374 * Make sure the user is using only one finger and then get the touch
375375 * position relative to the ripple wrapper
376376 */
377- event = event . originalEvent ;
377+ if ( event . originalEvent ) // Do this only ifjQuery is present for some reason
378+ event = event . originalEvent
378379
379380 if ( event . touches . length === 1 ) {
380381 return event . touches [ 0 ] . pageY - wrapperOffset . top ;
@@ -588,4 +589,4 @@ $templateCache.put("templates/form-group.html","<div class=\"form-group\" ng-cla
588589$templateCache . put ( "templates/input.html" , "<input id=\"input_{{$id}}\" name=\"input_{{$id}}\" class=\"form-control\">\n" ) ;
589590$templateCache . put ( "templates/label.html" , "<label for=\"{{\'input_\'+ formControl.$id}}\" class=\"control-label\">{{label}}</label>\n" ) ;
590591$templateCache . put ( "templates/radio.html" , "<label>\n <abm-transclude-slot-radio></abm-transclude-slot-radio>\n <span class=\"circle\"></span><span class=\"check\"></span> {{label}}\n</label>\n" ) ;
591- $templateCache . put ( "templates/toggle.html" , "<label>\n {{label}}\n <abm-transclude-slot-toggle></abm-transclude-slot-toggle>\n <span class=\"toggle\"></span>\n</label>\n" ) ; } ] ) ;
592+ $templateCache . put ( "templates/toggle.html" , "<label>\n {{label}}\n <abm-transclude-slot-toggle></abm-transclude-slot-toggle>\n <span class=\"toggle\"></span>\n</label>\n" ) ; } ] ) ;
0 commit comments