plugins/misc/fancybox/script/init.js in olelo-0.9.6 vs plugins/misc/fancybox/script/init.js in olelo-0.9.7

- old
+ new

@@ -1,5 +1,7 @@ $(function() { + "use strict"; + function initFancybox() { $('a.fancybox').each(function() { var href = this.href.replace(/aspect=\w+/g, ''); this.href = href + (href.indexOf('?') < 0 ? '?' : '&') + 'aspect=image&geometry=800x800>'; });