From 214f5850d12a94e0408e1c85138da439826c36d6 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 31 Mar 2009 03:24:21 +0000 Subject: [PATCH] MDL-15484 Avoid JavaScript errors after a popup has been blocked. Also clean up coding style of some nearby functions. --- lib/javascript-static.js | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/lib/javascript-static.js b/lib/javascript-static.js index 791a00475f0..e163821a08e 100644 --- a/lib/javascript-static.js +++ b/lib/javascript-static.js @@ -10,21 +10,21 @@ function popupchecker(msg) { } function checkall() { - var el = document.getElementsByTagName('input'); - for(var i=0; i