From 877240dd6b405a8b53b8d89898ebbfab09e1c170 Mon Sep 17 00:00:00 2001 From: Iain D Broadfoot Date: Tue, 16 Jul 2013 18:53:28 +0100 Subject: [PATCH] eliminate use of removed browser attribute --- jquery.select-to-autocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.select-to-autocomplete.js b/jquery.select-to-autocomplete.js index 9bbf06a..6485a14 100755 --- a/jquery.select-to-autocomplete.js +++ b/jquery.select-to-autocomplete.js @@ -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;