Merge branch 'offical/develop' into pr/ncenterlite-option

This commit is contained in:
BJRambo 2016-03-27 12:05:48 +09:00
commit a39dc762c2

View file

@ -381,13 +381,11 @@ function sendMailTo(to) {
* @brief url이동 (Rhymix 개선된 버전)
*/
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.reload();
}
else
{
} else {
window.location.href = url;
}
}