changeset 638:904a722c2149 jquery

small improvement
author robcast
date Wed, 19 Jan 2011 20:41:25 +0100
parents 71cc855e2e4b
children aa54642d666d 3f23600c96e5
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 {