changeset 629:b426efcc8a8e jquery

questions about display()...
author robcast
date Tue, 18 Jan 2011 12:51:51 +0100
parents 1f077f8afc5e
children 4f7b52b97738
files client/digitallibrary/jquery/jquery.digilib.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/jquery/jquery.digilib.js	Tue Jan 18 00:11:53 2011 +0100
+++ b/client/digitallibrary/jquery/jquery.digilib.js	Tue Jan 18 12:51:51 2011 +0100
@@ -391,7 +391,7 @@
             settings.dw = imgSize.width;
             settings.dh = imgSize.height;
             $img = $('<img/>');
-            display($img, settings);
+            display($img, settings); // TODO: is display the right thing here?
         } else {
             // embedded mode -- try to keep img tag
             $img = $elem.find('img');
@@ -400,7 +400,7 @@
                 $img.detach();
             } else {
                 $img = $('<img/>');
-                display($img, settings);
+                display($img, settings); // dito
             }
         }
         // create new html