mirror of
https://github.com/Kenshin/simpread.git
synced 2026-02-01 15:41:29 +00:00
Fix 'ks-simpread-option-bg' exist not work bug.
This commit is contained in:
parent
227841f7d1
commit
7a0c14bc13
@ -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];
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user