mirror of
https://github.com/zhigang1992/typeahead.js.git
synced 2026-05-28 13:47:29 +08:00
Remove inline-block fallback for IE <= 7
Because the original `span` element is `display: inline`, it doesn't need a fallback for `inline-block`. Plus, this fallback was causing some alignment issues in IE's compatibility mode. Conflicts: src/typeahead_view.js
This commit is contained in:
committed by
Jake Harding
parent
c801823030
commit
aa0767e782
@@ -63,7 +63,6 @@ if (_.isMsie()) {
|
||||
|
||||
// ie7 and under specific styling
|
||||
if (_.isMsie() && _.isMsie() <= 7) {
|
||||
_.mixin(css.wrapper, { display: 'inline', zoom: '1' });
|
||||
// if someone can tell me why this is necessary to align
|
||||
// the hint with the query in ie7, i'll send you $5 - @JakeHarding
|
||||
_.mixin(css.query, { marginTop: '-1px' });
|
||||
|
||||
Reference in New Issue
Block a user