Index: reference/jquery-plugins/select2-4.0.13/src/scss/theme/default/layout.scss =================================================================== diff -u -r0cc2ef4e5a19518c64915cbacfe792d16f05c766 -r4ad3d82deb484eec20b5d16ae102e2172399774c --- reference/jquery-plugins/select2-4.0.13/src/scss/theme/default/layout.scss (.../layout.scss) (revision 0cc2ef4e5a19518c64915cbacfe792d16f05c766) +++ reference/jquery-plugins/select2-4.0.13/src/scss/theme/default/layout.scss (.../layout.scss) (revision 4ad3d82deb484eec20b5d16ae102e2172399774c) @@ -1555,13 +1555,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() {