|
@@ -75,6 +75,11 @@ window.top.addEventListener('popstate', function (event) {
|
|
|
}, 0);
|
|
|
});
|
|
|
$(document).ready(function () {
|
|
|
+ if(window === window.top) {
|
|
|
+ window.location.href = '/mc' + window.location.pathname;
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ window.top.ensureRHS();
|
|
|
$(document).on('click', '.stag_rhs_toggle', function () {
|
|
|
var state = window.top.toggleRHS(),
|
|
|
icon = $(this).find('i');
|