diff options
author | matthew <matthew> | 2007-09-25 11:19:29 +0000 |
---|---|---|
committer | matthew <matthew> | 2007-09-25 11:19:29 +0000 |
commit | 1216effb6fde2940fc78ecb169b3d20be4d45bb9 (patch) | |
tree | 240f63f6b51b8527cf52332844484ea17cf37c86 /web/js.js | |
parent | ebae1f0dec17877c4577137a9286b5cd19832283 (diff) |
Put some photos on alert pages to brighten it up a bit ;)
Diffstat (limited to 'web/js.js')
-rw-r--r-- | web/js.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -78,6 +78,8 @@ function email_alert_close() { } YAHOO.util.Event.onContentReady('email_alert', function() { YAHOO.util.Event.addListener(this, 'click', function(e) { + if (!document.getElementById('email_alert_box')) + return true; YAHOO.util.Event.preventDefault(e); if (YAHOO.util.Dom.getStyle('email_alert_box', 'display') == 'block') { email_alert_close(); |