projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 2257-inequality-conditions
[arvados.git]
/
apps
/
workbench
/
app
/
views
/
application
/
_content.html.erb
diff --git
a/apps/workbench/app/views/application/_content.html.erb
b/apps/workbench/app/views/application/_content.html.erb
index 02efdf9999dfe5d004aad06df8a8709849c33a40..53444a5c9c72defe283deff498996f1c8ffb7782 100644
(file)
--- a/
apps/workbench/app/views/application/_content.html.erb
+++ b/
apps/workbench/app/views/application/_content.html.erb
@@
-25,7
+25,6
@@
<% end %>
<% content_for :js do %>
<% end %>
<% content_for :js do %>
- $(window).on('load', function() {
- $('ul.nav-tabs > li > a').on('shown.bs.tab', smart_scroll_fixup);
- });
+ $(window).on('load', smart_scroll_fixup);
+ $(document).on('shown.bs.tab', 'ul.nav-tabs > li > a', smart_scroll_fixup);
<% end %>
<% end %>