import { HomePageElements } from 'root/windows/home/home' ; export function showPrompt ( message , autohide = 0 ) { HomePageElements . PromptWnd . style . display = 'block' ; HomePageElements . PromptText . innerHTML = message ; if ( autohide > 0 ) { setTimeout ( ( ) => { HomePageElements . PromptWnd . style . display = 'none' ; } , autohide ) ; } }