From cc2ed32ccb82f30d0bfed30417b50401bcb79db5 Mon Sep 17 00:00:00 2001 From: zmagod Date: Wed, 17 Aug 2016 13:29:22 +0200 Subject: [PATCH] fixes canvas bug when no actions are available for the viewer --- app/views/experiments/canvas.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/experiments/canvas.html.erb b/app/views/experiments/canvas.html.erb index bbb09262b..fe217fe8a 100644 --- a/app/views/experiments/canvas.html.erb +++ b/app/views/experiments/canvas.html.erb @@ -33,7 +33,7 @@ <% end %> -
+
<%=link_to canvas_full_zoom_experiment_path(@experiment), remote: true, type: "button", class: "ajax btn btn-primary active", "data-action" => "full_zoom", "data-toggle" => "button", "aria-pressed" => true do %> <% end %>