mirror of https://github.com/1099438829/macUI.git
1 line
527 B
JavaScript
1 line
527 B
JavaScript
window.Macui_parent=parent.Macui,window.Macui_child={close:function(){var index=parent.layer.getFrameIndex(window.name);Macui_parent._closeWin(index)},newMsg:function(title,content,handle_click){Macui_parent.newMsg(title,content,handle_click)},openUrl:function(url,title,max){var click_lock_name=Math.random();Macui_parent._iframe_click_lock_children[click_lock_name]=!0;var index=Macui_parent.openUrl(url,title,max);return setTimeout((function(){delete Macui_parent._iframe_click_lock_children[click_lock_name]}),1e3),index}}; |