Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Bug 1132967 - Fix not being able to scroll notifications. r=mhenretty
Browse files Browse the repository at this point in the history
  • Loading branch information
Cwiiis authored and rvandermeulen committed Feb 20, 2015
1 parent 4ecd7b5 commit 2b694a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/system/js/notifications.js
Expand Up @@ -258,13 +258,12 @@ var NotificationScreen = {
return;
}

evt.preventDefault();

this._touchPosX = evt.touches[0].pageX - this._touchStartX;
if (Math.abs(this._touchPosX) >= this.TAP_THRESHOLD) {
this._isTap = false;
}
if (!this._isTap) {
evt.preventDefault();
this._notification.style.transform =
'translateX(' + this._touchPosX + 'px)';
}
Expand Down

0 comments on commit 2b694a5

Please sign in to comment.