diff --git a/app/helpers/lightbox_helper.rb b/app/helpers/lightbox_helper.rb index 4567c3c..ffb8d35 100644 --- a/app/helpers/lightbox_helper.rb +++ b/app/helpers/lightbox_helper.rb @@ -22,10 +22,7 @@ module LightboxHelper def lightbox_options(options, lightbox_type = 'lbOn') the_class = lightbox_type the_class << " #{options[:class]}" if options.has_key?(:class) - options.merge( - :class => the_class, - :onclick => 'alert("%s"); return false' % _('Please, try again when the page loading completes.') - ) + options.merge(:class => the_class) end def lightbox? -- libgit2 0.21.2