mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
Merge branch 'offical/develop' into pr/ncenterlite-option
This commit is contained in:
commit
a39dc762c2
1 changed files with 3 additions and 5 deletions
|
|
@ -381,13 +381,11 @@ function sendMailTo(to) {
|
||||||
* @brief url이동 (Rhymix 개선된 버전)
|
* @brief url이동 (Rhymix 개선된 버전)
|
||||||
*/
|
*/
|
||||||
function redirect(url) {
|
function redirect(url) {
|
||||||
if (url === window.location.href || url.indexOf(window.location.href.replace(/#.+$/, "") + "#") === 0)
|
if (url === window.location.href || url.indexOf(window.location.href.replace(/#.+$/, "") + "#") === 0 ||
|
||||||
{
|
url === window.location.pathname || url.indexOf(window.location.pathname.replace(/#.+$/, "") + "#") === 0) {
|
||||||
window.location.href = url;
|
window.location.href = url;
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
window.location.href = url;
|
window.location.href = url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue