Uncaught TypeError: Cannot read property 'version' of undefined

Created on 25 January 2017, over 7 years ago
Updated 2 May 2024, about 2 months ago

Hi,

i have updated jQuery version to 1.10 and getting below error,
: Uncaught TypeError: Cannot read property 'version' of undefined

i checked and find the file nice_menus/ js/jquery.bgiframe.js, can anyone look into this, your help will be really appreciate.

When i put this code into js file, error gone, but its for testing, i can't directly put code into nice_menus js file

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;
}
})();

Thanks,
Sunil kumar

🐛 Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

🇮🇳India sunil-kumar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024