Merge branch 'rs-merge-request-tabs-the-third' into 'master'
Include location.search and location.hash in URL for replaceState Forgot these 😊 See merge request !740
This commit is contained in:
commit
aa97325dea
|
@ -148,6 +148,9 @@ class @MergeRequest
|
|||
unless action == 'notes'
|
||||
new_state += "/#{action}"
|
||||
|
||||
# Ensure parameters and hash come along for the ride
|
||||
new_state += location.search + location.hash
|
||||
|
||||
# Replace the current history state with the new one without breaking
|
||||
# Turbolinks' history.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue