Index: reference/jquery-plugins/select2-4.0.13/src/scss/theme/default/layout.scss =================================================================== diff -u -r1928300b466242910388c27dc0947dbfafe31f45 -r427001d6ce22134a349a9d381e586675bd4c792f --- reference/jquery-plugins/select2-4.0.13/src/scss/theme/default/layout.scss (.../layout.scss) (revision 1928300b466242910388c27dc0947dbfafe31f45) +++ reference/jquery-plugins/select2-4.0.13/src/scss/theme/default/layout.scss (.../layout.scss) (revision 427001d6ce22134a349a9d381e586675bd4c792f) @@ -1563,13 +1563,26 @@ function gnuboardList(param) { const params = {}; - + var userMode = false; window.location.search.replace(/[?&]+([^=&]+)=([^&]*)/gi, (str, key, value) => { + + if(key == "mode"){ + var tempValue = params[key]; + if( tempValue == "detail"){ + userMode = true; + } + } params[key] = value; + }); - params["mode"] = "detail"; - location.href = param + `&${new URLSearchParams(params).toString()}`; + if(userMode){ + params["mode"] = "detail"; + location.href = param + `&${new URLSearchParams(params).toString()}`; + }else{ + location.href = param; + } + } function gnuboardIndex() {