Browse Source

Merge pull request #1211 from jhinch/pixel-rounding-problems

Search width inconsistencies in different browsers due to fractional pixels
Igor Vaynberg 11 years ago
parent
commit
7d60f619ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      select2.js

+ 1 - 1
select2.js

@@ -2923,7 +2923,7 @@ the specific language governing permissions and limitations under the Apache Lic
               searchWidth = minimumWidth;
             }
 
-            this.search.width(searchWidth);
+            this.search.width(Math.floor(searchWidth));
         },
 
         // multi