Skip to content

Commit

Permalink
MobileVersion issue
Browse files Browse the repository at this point in the history
  • Loading branch information
comlaterra committed May 8, 2014
1 parent f4d2bc9 commit 5986b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion select2.js
Expand Up @@ -1156,7 +1156,7 @@ the specific language governing permissions and limitations under the Apache Lic
if(this.opts.mobile === true){
var maxHeight = window.innerHeight - (window.innerHeight - offset.top);
/* IF IS NO INBROWSERVERSION AND IF IS IOS AND IS MORE THAN V7 */
if(this.opts.isiOS && this.opts.version !== undefined && parseInt(this.opts.mobileVersion) >= 7){
if(this.opts.isiOS && this.opts.mobileVersion !== undefined && parseInt(this.opts.mobileVersion) >= 7){
maxHeight -= 20;
}
$resultsList.css('max-height', maxHeight);
Expand Down

0 comments on commit 5986b81

Please sign in to comment.