--- rat/client/Attic/code.html 2001/03/15 14:48:44 1.23
+++ rat/client/Attic/code.html 2001/03/15 18:03:57 1.25
@@ -1472,7 +1472,7 @@ function srchclear() {
// ------------------------------------------------------- Closes search window
function srchclose() {
- if (!srch.closed) {
+ if (srch && !srch.closed) {
srch.close();
}
}
@@ -2505,7 +2505,7 @@ function leave() {
if (!inf.closed) {
inf.close();
}
- if (!srch.closed) {
+ if (srch && !srch.closed) {
srchclose();
}
}