File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 121121 bottom : 0 ;
122122 background-color : var (--color-bg-base );
123123 border-left : 1px solid var (--color-border );
124+ border-right : 1px solid var (--color-border );
124125 box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.1 );
125126 display : flex ;
126127
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ export function getUrlParam(paramName) {
4040 */
4141export function updateQueryStringParameter ( key , value ) {
4242 const uri = window . location . href ;
43- const host = window . location . host ;
4443 if ( ! value ) {
4544 return uri ;
4645 }
@@ -49,7 +48,7 @@ export function updateQueryStringParameter(key, value) {
4948 if ( uri . match ( re ) ) {
5049 return uri . replace ( re , '$1' + key + '=' + value + '$2' ) ;
5150 } else {
52- return host + separator + key + '=' + value ;
51+ return uri + separator + key + '=' + value ;
5352 }
5453}
5554
You can’t perform that action at this time.
0 commit comments