Fix 'ks-simpread-option-bg' exist not work bug.

This commit is contained in:
Kenshin 2017-01-03 11:20:59 +08:00
parent 227841f7d1
commit 7a0c14bc13

View File

@ -67,6 +67,8 @@ function rollback() {
* get Dialog background document
*/
export function getDialogBackground() {
$( "body" ).append( optbg );
if ( $( "body" ).find( "." + optbgcls ).length == 0 ) {
$( "body" ).append( optbg );
}
return $( "." + optbgcls )[0];
}