Skip to content

Commit

Permalink
Bug fix: Firefox android beta UA string
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony McBeth committed Jun 20, 2012
1 parent 4c41667 commit 9640e21
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.number
@@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Mon Nov 14 11:20:48 GMT 2011
build.number=38
#Wed Jun 20 20:23:42 BST 2012
build.number=40
4 changes: 2 additions & 2 deletions build.properties
Expand Up @@ -5,8 +5,8 @@
project.description = PhotoSwipe
project.src.dir = src

project.build.version = 3.0.4
project.build.year = 2011
project.build.version = 3.0.5
project.build.year = 2012

project.build.workdir = work
project.build.artifactdir = release
Expand Down
2 changes: 1 addition & 1 deletion src/photoswipe.class.js
Expand Up @@ -130,7 +130,7 @@

this.originalImages = images;

if (Util.Browser.android){
if (Util.Browser.android && !Util.Browser.firefox){
if (window.navigator.userAgent.match(/Android (\d+.\d+)/).toString().replace(/^.*\,/, '') >= 2.1){
this.isBackEventSupported = true;
}
Expand Down

1 comment on commit 9640e21

@uhaciogullari
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we tag this one with v3.0.5?

Please sign in to comment.