MaxImage icon indicating copy to clipboard operation
MaxImage copied to clipboard

Overriden default settings

Open arvydas opened this issue 11 years ago • 0 comments

The line 73 in jquery.maximage.js has an issue.

if (typeof settings == 'object' || settings === undefined) config = $.extend( $.fn.maximage.defaults, settings || {} );

It's supposed to be:

if (typeof settings == 'object' || settings === undefined) config = $.extend({}, $.fn.maximage.defaults, settings || {} );

because according to the jQuery docs http://api.jquery.com/jquery.extend/ the first parameter gets to be modified.

arvydas avatar Mar 16 '14 19:03 arvydas