Skip to content

Commit

Permalink
Merge pull request #57 from ibroadfo/patch-1
Browse files Browse the repository at this point in the history
eliminate use of removed browser attribute
  • Loading branch information
jamieholst committed Aug 12, 2014
2 parents 0415bd3 + 877240d commit 901ba8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.select-to-autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ THE SOFTWARE.
var public_methods = {
init: function( customizations ) {

if ( $.browser.msie && parseInt($.browser.version, 10) <= 6) {
if ( /msie/.test(navigator.userAgent.toLowerCase()) && parseInt(navigator.appVersion,10) <= 6) {

return this;

Expand Down

0 comments on commit 901ba8e

Please sign in to comment.