mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
fixed scrolling
Adding # in the href when you click in the 'Details' it takes you to the top and then you should scroll down in order to see the user's Details. Adding `javascript: void(0)` instead of # we fix scrolling because it doesn't take you to the top.
This commit is contained in:
parent
3933e89a9c
commit
e3c0085ee3
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@
|
|||
= f.action :submit, :as => :button, :button_html => {:value => "Save", :class => "btn btn-primary"}
|
||||
=link_to "Modify Roles", "#", "data-toggle" => "modal", "data-target" => "#user-role-selection-#{user.id}}"
|
||||
%td
|
||||
=link_to "Details", "#", :class => "user-details-popover", "data-trigger" => "click", "data-placement" => "bottom",
|
||||
=link_to "Details", "javascript: void(0)", :class => "user-details-popover", "data-trigger" => "click", "data-placement" => "bottom",
|
||||
"data-html" => "true",
|
||||
"data-content" => user.popup_details,
|
||||
"data-original-title" => ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue