Format source.

This commit is contained in:
Kenshin 2018-07-24 11:50:34 +08:00
parent 7378ff4a1b
commit 7d58745ee8

View File

@ -184,6 +184,7 @@ function siteeditorRender( url, site, type, info ) {
$( "sr-opt-read" ).length > 0 &&
$( ".custom .preview" ).empty();
cur_site = pr.Safesite( site, type, url );
// hack code
storage.site = cur_site;
info && ( storage.site.info = info );
const doms = <Editor site={ cur_site } state={ state } />;