From 99f92c9ebf6cce6ba171bbb1e5fde605210e57f5 Mon Sep 17 00:00:00 2001 From: Luca Ghio Date: Sun, 27 Dec 2015 01:29:54 +0100 Subject: [PATCH] jQuery.browser was removed in jQuery 1.9 --- jquery.rule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.rule.js b/jquery.rule.js index 5bcf8d2..7bb827c 100644 --- a/jquery.rule.js +++ b/jquery.rule.js @@ -120,7 +120,7 @@ }); }, parent:function( r ){//CSS rules in IE don't have parentStyleSheet attribute - if( typeof r == 'string' || !$.browser.msie )//if it's a string, just return undefined. + if( typeof r == 'string' || r.parentStyleSheet !== undefined )//if it's a string, just return undefined. return r.parentStyleSheet; var par;