Skip to content
This repository
Browse code

Fixes #3829 - BlackBerry 6 and below now default to native position: …

…fixed toolbars, rather than being demoted to static positioning.
  • Loading branch information...
commit efbdff74c1109c03b43b1e60bf1613cc35e4a2c5 1 parent 7e77697
Mat Marquis authored March 22, 2012

Showing 1 changed file with 0 additions and 5 deletions. Show diff stats Hide diff stats

  1. 5  js/jquery.mobile.fixedToolbar.js
5  js/jquery.mobile.fixedToolbar.js
@@ -36,8 +36,6 @@ define( [ "jquery", "./jquery.mobile.widget", "./jquery.mobile.core", "./jquery.
36 36
 					ffmatch = ua.match( /Fennec\/([0-9]+)/ ),
37 37
 					ffversion = !!ffmatch && ffmatch[ 1 ],
38 38
 					operammobilematch = ua.match( /Opera Mobi\/([0-9]+)/ ),
39  
-					bbmatch = w.blackberry && w.navigator.appVersion.match( /Version\/([0-9]+)/ ),
40  
-					bbversion = !!bbmatch && parseInt( bbmatch[ 1 ], 10 ),
41 39
 					omversion = !!operammobilematch && operammobilematch[ 1 ];
42 40
 
43 41
 				if(
@@ -58,9 +56,6 @@ define( [ "jquery", "./jquery.mobile.widget", "./jquery.mobile.core", "./jquery.
58 56
 					// WebOS less than 3
59 57
 					( "palmGetResource" in window && wkversion && wkversion < 534 )
60 58
 					||
61  
-					// BlackBerry six and below.
62  
-					( w.blackberry && bbversion < 7 )
63  
-					||
64 59
 					// MeeGo
65 60
 					( ua.indexOf( "MeeGo" ) > -1 && ua.indexOf( "NokiaBrowser/8.5.0" ) > -1 )
66 61
 				){

0 notes on commit efbdff7

Please sign in to comment.
Something went wrong with that request. Please try again.