mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge branch 'ticket/sumanai/12843' into develop-ascraeus
* ticket/sumanai/12843: [ticket/12843] Fix Mark forums read browser console error
This commit is contained in:
@@ -48,6 +48,18 @@ phpbb.clearLoadingTimeout = function() {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Close popup alert after a specified delay
|
||||
*
|
||||
* @param int Delay in ms until darkenwrapper's click event is triggered
|
||||
*/
|
||||
phpbb.closeDarkenWrapper = function(delay) {
|
||||
phpbbAlertTimer = setTimeout(function() {
|
||||
$('#darkenwrapper').trigger('click');
|
||||
}, delay);
|
||||
};
|
||||
|
||||
/**
|
||||
* Display a simple alert similar to JSs native alert().
|
||||
*
|
||||
|
Reference in New Issue
Block a user