Skip to content
This repository
Browse code

Removed border radius from button behing Opera's native selectmenu.

  • Loading branch information...
commit a1973d5e6762fcb0182f5476948e145bc066ceae 1 parent 8e516b3
Jasper de Groot jaspermdegroot authored
3  css/structure/jquery.mobile.forms.select.css
@@ -8,7 +8,8 @@
8 8 .ui-select .ui-disabled { opacity: .3; }
9 9
10 10 @-moz-document url-prefix() {.ui-select .ui-btn select { opacity: 0.0001; }}
11   -.ui-select .ui-btn select.ui-select-nativeonly { opacity: 1; text-indent: 0; }
  11 +.ui-select .ui-btn.ui-select-nativeonly { border-radius: 0; }
  12 +.ui-select .ui-btn.ui-select-nativeonly select { opacity: 1; text-indent: 0; }
12 13
13 14 .ui-select .ui-btn-icon-right .ui-btn-inner { padding-right: 45px; }
14 15 .ui-select .ui-btn-icon-right .ui-icon { right: 15px; }
4 js/jquery.mobile.forms.select.js
@@ -119,8 +119,8 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
119 119 // On the desktop,it seems to do the opposite
120 120 // for these reasons, using the nativeMenu option results in a full native select in Opera
121 121 if ( options.nativeMenu && window.opera && window.opera.version ) {
122   - this.select.addClass( "ui-select-nativeonly" );
123   - }
  122 + button.addClass( "ui-select-nativeonly" );
  123 + }
124 124
125 125 // Add counter for multi selects
126 126 if ( this.isMultiple ) {

0 comments on commit a1973d5

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