diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-05-02 09:51:32 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-05-02 09:51:32 +0100 |
commit | 770e3a6e5c7fd71af54f4d2aff9414081ff7f3d6 (patch) | |
tree | e1b31586f558f01cf947a0045cb4035906683d5a | |
parent | 77fc44e4a5a90d7c9671e8e8adcc6857b11dadce (diff) |
Set the location hash when loading authority previews
Moves the target to the new content - more useful in new responsive
layout on smaller devices.
-rw-r--r-- | app/views/request/select_authority.html.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/request/select_authority.html.erb b/app/views/request/select_authority.html.erb index 83abdb184..ed072cf64 100644 --- a/app/views/request/select_authority.html.erb +++ b/app/views/request/select_authority.html.erb @@ -18,6 +18,7 @@ $("#authority_preview").show(); $(window).scrollTop($("#banner").height()); $("#authority_preview #header_right").hide(); + location.hash = '#header_left'; }); return false; }); |