Uncaught TypeError: Cannot read property 'version' of undefined

Created on 25 January 2017, almost 8 years ago
Updated 2 May 2024, 7 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.

  • 🇺🇦Ukraine AstonVictor

    I'm closing it because the issue was created a long time ago without any further steps.

    if you still need it then raise a new one.
    thanks

Production build 0.71.5 2024