Index: plugins/img_assist/img_assist.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/img_assist/plugins/img_assist/img_assist.js,v
retrieving revision 1.2
diff -u -p -r1.2 img_assist.js
--- plugins/img_assist/img_assist.js	2 Feb 2009 00:58:35 -0000	1.2
+++ plugins/img_assist/img_assist.js	4 Feb 2009 02:56:42 -0000
@@ -81,7 +81,7 @@ Drupal.wysiwyg.plugins.img_assist = {
    * Replace images with inline tags in content upon detaching editor.
    */
   detach: function (content, settings, instanceId) {
-    $content = $('<div>' + content + '</div>'); // No .outerHTML() in jQuery :(
+    var $content = $('<div>' + content + '</div>'); // No .outerHTML() in jQuery :(
     $('img', $content).each(function(node) {
       if (!$(this).is('.img-assist')) {
         return;
