mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Specify coding style and follow it
This commit is contained in:
@@ -884,7 +884,8 @@ function addEvent(el, action, handler) {
|
||||
* @param HTMLElement
|
||||
*/
|
||||
function focus(el) {
|
||||
setTimeout(function () { // this has to be an anonymous function because Firefox passes some arguments to setTimeout callback
|
||||
setTimeout(function () {
|
||||
// this has to be an anonymous function because Firefox passes some arguments to setTimeout callback
|
||||
el.focus();
|
||||
}, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user