Closed wiiikiii closed 10 years ago
after running a project in rails production with compressed and merge js files my js didn't work. I found the problem in this line:
Line number 2332
// Auto start if ( $("script[src*='jquery.fancybox.js']").attr('src').match(/autorun/) ) { $("a[href$='.jpg'],a[href$='.png'],a[href$='.gif'],.fancybox").attr('data-fancybox-group', 'gallery').fancybox(); }
Check out https://github.com/fancyapps/fancyBox/issues/713#issuecomment-28777748
Until officially fixed, the fix by Kitzberger does the job! :+1:
after running a project in rails production with compressed and merge js files my js didn't work. I found the problem in this line:
Line number 2332