fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-05-10 07:18 am

[dw-free] Always show icon thumbnail in hover menu

[commit: http://hg.dwscoalition.org/dw-free/rev/096a30087065]

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

Always show the default icon in the contextual hover menu.

Patch by [personal profile] yvi.

Files modified:
  • htdocs/js/contextualhover.js
--------------------------------------------------------------------------------
diff -r 608a0d60ee6a -r 096a30087065 htdocs/js/contextualhover.js
--- a/htdocs/js/contextualhover.js	Mon May 10 07:11:39 2010 +0000
+++ b/htdocs/js/contextualhover.js	Mon May 10 07:17:46 2010 +0000
@@ -241,7 +241,7 @@ ContextualPopup.renderPopup = function (
         bar.innerHTML = " | ";
 
         // userpic
-        if (data.url_userpic && data.url_userpic != ContextualPopup.elements[ctxPopupId].src) {
+        if (data.url_userpic) {
             var userpicContainer = document.createElement("div");
             var userpicLink = document.createElement("a");
             userpicLink.href = data.url_allpics;
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org