changeset 645:91d168f7dd0d jquery

small improvement
author robcast
date Wed, 19 Jan 2011 20:41:25 +0100
parents ee8ccd84c5f8
children 83cc0c96612d 2e817524992e
files client/digitallibrary/jquery/jquery.digilib.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/jquery/jquery.digilib.js	Wed Jan 19 20:18:59 2011 +0100
+++ b/client/digitallibrary/jquery/jquery.digilib.js	Wed Jan 19 20:41:25 2011 +0100
@@ -601,7 +601,7 @@
 
     // shows some window e.g. 'about' (toggle visibility if show is null)
     var showDiv = function (isVisible, $div, show) {
-        if (typeof(show) !== 'number') {
+        if (show == null) {
             // toggle visibility
             isVisible = !isVisible;
         } else {