google-code-export / nyromodal

Automatically exported from code.google.com/p/nyromodal
1 stars 1 forks source link

NyroModal 1.6.2 and jQuery 1.4.4 #557

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Just wanted to point out a quick fix  for anyone getting errors when upgrading 
to jQuery 1.4.4.  I initially thought this was a jQuery issue and opened a 
ticket here: http://bugs.jquery.com/ticket/7180 But it was pointed out that it 
was a small issue with NyroModal instead.  the fix for this is to open the 
uncompressed source and change line number 341.

Before:
callingSettings = $.extend(true, settings);
After:
callingSettings = $.extend(true, {}, settings);

Just pass in an empty object as the 2nd parameter and this is will make 
everything work again.  Follow the link above to the jQuery ticket for a better 
explanation of what's happening.

Original issue reported on code.google.com by chris.m....@gmail.com on 14 Dec 2010 at 8:31