* prevent login page show in a iframe modal.

This commit is contained in:
Catouse
2017-05-19 16:27:20 +08:00
parent ac7958d736
commit ee2370eb56
+3
View File
@@ -1,3 +1,6 @@
// Prevent login page show in a iframe modal
if(window.self !== window.top) window.top.location.href = window.location.href;
function setForm(){}
$(document).ready(function()
{