afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-10-24 06:28 pm

[dw-free] Expanded comments don't have contextual hovers

[commit: http://hg.dwscoalition.org/dw-free/rev/79d6d1e9332d]

http://bugs.dwscoalition.org/show_bug.cgi?id=1217

Set up contextual hover popup for newly expanded comments. (Take 2;
mistakenly backed out the original commit)

Patch by [personal profile] wyntarvox.

Files modified:
  • htdocs/js/thread_expander.js
--------------------------------------------------------------------------------
diff -r e281b9671bdc -r 79d6d1e9332d htdocs/js/thread_expander.js
--- a/htdocs/js/thread_expander.js	Sun Oct 25 02:22:03 2009 +0800
+++ b/htdocs/js/thread_expander.js	Sat Oct 24 18:27:38 2009 +0000
@@ -150,6 +150,8 @@ Expander.prototype.onLoadHandler = funct
                                 });
        this.killDuplicate(comments_intersection);   
        this.loadingStateOff();
+       if ( typeof ContextualPopup.setup() != "undefined" )
+           ContextualPopup.setup();
        return true;
 }
 
--------------------------------------------------------------------------------