Skip to content

Commit

Permalink
Updates Responsive Nav to latest to fix issues on Android 2.3 and under
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsalminen committed Apr 2, 2015
1 parent 63be0af commit c6023c1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions js/responsive-nav.js
@@ -1,11 +1,12 @@
/*! responsive-nav.js 1.0.36
/*! responsive-nav.js 1.0.38
* https://github.com/viljamis/responsive-nav.js
* http://responsive-nav.com
*
* Copyright (c) 2015 @viljamis
* Available under the MIT license
*/

/* global Event */
(function (document, window, index) {
// Index is used to keep multiple navs on the same page namespaced

Expand Down Expand Up @@ -538,7 +539,9 @@
* @param {event} event
*/
_onTouchStart: function (e) {
this._preventDefault(e);
if (!Event.prototype.stopImmediatePropagation) {
this._preventDefault(e);
}
this.startX = e.touches[0].clientX;
this.startY = e.touches[0].clientY;
this.touchHasMoved = false;
Expand Down

0 comments on commit c6023c1

Please sign in to comment.