You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If anyone wants to override that or remove it s/he needs to use removeAttr() rather than the more obvious off(). It also doesn't have the prefix (as most of the other bindings do).
I would actually also like to see that function turned into a default setting that can be modified. So:
photo.on("click", settings.get('clickHandler'));
The text was updated successfully, but these errors were encountered:
Currently the click handler for the photo is bound inline: https://github.com/jackmoore/colorbox/blob/master/jquery.colorbox.js#L1016
If anyone wants to override that or remove it s/he needs to use
removeAttr()
rather than the more obviousoff()
. It also doesn't have the prefix (as most of the other bindings do).I would actually also like to see that function turned into a default setting that can be modified. So:
The text was updated successfully, but these errors were encountered: