1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +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:
Joas Schilling
2014-07-27 19:51:38 +02:00
2 changed files with 12 additions and 11 deletions

View File

@@ -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().
*