changeset 646:83cc0c96612d jquery

even smaller improvement
author hertzhaft
date Wed, 19 Jan 2011 21:41:17 +0100
parents 91d168f7dd0d
children 64cc32ec25de
files client/digitallibrary/jquery/jquery.digilib.js
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/jquery/jquery.digilib.js	Wed Jan 19 20:41:25 2011 +0100
+++ b/client/digitallibrary/jquery/jquery.digilib.js	Wed Jan 19 21:41:17 2011 +0100
@@ -595,7 +595,9 @@
         $link.attr('href', settings.homeUrl);
         $content.text('Version: ' + settings.version);
         // click hides
-        $aboutDiv.bind('click', function () { showDiv(settings.isAboutDivVisible, $aboutDiv, 0); });
+        $aboutDiv.bind('click', function () { 
+            settings.isAboutDivVisible = showDiv(settings.isAboutDivVisible, $aboutDiv, 0);
+            });
         data.$aboutDiv = $aboutDiv;
     };