diff --git a/app/views/fotos/show.html.erb b/app/views/fotos/show.html.erb index babad45..34eed73 100644 --- a/app/views/fotos/show.html.erb +++ b/app/views/fotos/show.html.erb @@ -10,7 +10,7 @@ top: 0" %> <%= link_to ff_icon('icon-circle-arrow-down').html_safe, @foto.datei.url, :class=>"btn",title: I18n.t('fotos.download')+': '+@foto.title,:target=>:blank, :style=>"" %> - <%= render_shareable :url=>gallery_foto_url(@foto.gallery,@foto, {theme: nil, locale: nil}),:turbolinks=>true, :buttons=>[:facebook, :twitter, :google_plus] %> + <%= render_shareable :url=>gallery_foto_url(@foto.gallery,@foto, {theme: nil, locale: nil}),:static_link=>true, :buttons=>[:facebook, :twitter, :google_plus] %>
<%= notice %>
diff --git a/app/views/galleries/show.html.erb b/app/views/galleries/show.html.erb index db225b7..fcd6dbc 100644 --- a/app/views/galleries/show.html.erb +++ b/app/views/galleries/show.html.erb @@ -173,51 +173,51 @@ end <%= render 'layouts/pretty_toolbar' %> - <%= javascript_include_tag "blueimp-gallery-all" %> +<%= javascript_include_tag "blueimp-gallery-all" %> - + - - blueimp.Gallery.prototype.onslide = (function(_super) { - return function(index) { - history.pushState({},"Foto",String(this.list[index].getAttribute('histitem'))); - return _super.apply(this, arguments); - }; - })(blueimp.Gallery.prototype.onslide); - - -