Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[livejournal] r19314: LJSUP-9115: Enable button "Quote"

Committer: szhirkov
LJSUP-9115: Enable button "Quote"
U   trunk/templates/CommentForm/Form.tmpl
Modified: trunk/templates/CommentForm/Form.tmpl
===================================================================
--- trunk/templates/CommentForm/Form.tmpl	2011-06-17 04:19:13 UTC (rev 19313)
+++ trunk/templates/CommentForm/Form.tmpl	2011-06-17 06:48:45 UTC (rev 19314)
@@ -156,10 +156,7 @@
                     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('&nbsp;&nbsp;<input type="button" value="Quote" onmousedown="quote();" onclick="quote();" tabindex="23" />');
-                        }
+					document.write('&nbsp;&nbsp;<input type="button" value="Quote" onmousedown="quote();" onclick="quote();" tabindex="23" />');
                 }
                 //-->
                 </script>

Tags: aralot, livejournal, tmpl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments