-
Notifications
You must be signed in to change notification settings - Fork 169
Uncaught TypeError: Cannot read property 'msie' of undefined #26
Comments
$.browser was removed from jQuery starting with version 1.9. You can add this code before jFeed plugin. jQuery.browser = {};
(function () {
jQuery.browser.msie = false;
jQuery.browser.version = 0;
if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) {
jQuery.browser.msie = true;
jQuery.browser.version = RegExp.$1;
}
})(); Hope this helps, cheers! |
Thanks,I will try. |
solution doesn't work in
};
})();` before the plug-in |
@Calosha in my case it worked I simply added that code after:
|
Add this function on the top of the file `function detectIE() {
}` Replace |
copy it from "function detectIE() " this line. I dont know why they printed outside code block |
You can also simply use the jQuery Migrate plugin which is for this intended use case. See https://github.com/jquery/jquery-migrate/tree/1.x-stable#readme. |
I use jQuery v1.11.3 | (c)
The text was updated successfully, but these errors were encountered: