kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2009-09-12 02:37 pm

[dw-free] un-hide quote button for newer versions of Opera

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

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

Stop treating Opera like it's broken, because it isn't any more.

Patch by [personal profile] afuna.

Files modified:
  • cgi-bin/talklib.pl
--------------------------------------------------------------------------------
diff -r 04268e5d9af0 -r cef2218ab1c7 cgi-bin/talklib.pl
--- a/cgi-bin/talklib.pl	Sat Sep 12 13:27:06 2009 +0000
+++ b/cgi-bin/talklib.pl	Sat Sep 12 09:37:06 2009 -0500
@@ -1711,8 +1711,7 @@ sub talkform {
             return false;
         }
         if (document.getElementById && (document.getSelection || document.selection || window.getSelection)) {
-            // Opera clears the paste buffer before mouse events, useless here
-                if (navigator.userAgent.indexOf("Opera") == -1) { document.write('$quickquote'); }
+            document.write('$quickquote');
         }
 QQ
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

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