summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-03-10 20:44:42 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2013-03-10 20:44:42 +0100
commitd6546ed69515aed6d0771b75d4b3e38438aad7d1 (patch)
treef8fd70940fbd7f112f605384afff47088b254ed5 /lib/coderay/encoders
parent9e6364cd659cc26f32fc3732ed091653176ac987 (diff)
downloadcoderay-d6546ed69515aed6d0771b75d4b3e38438aad7d1.tar.gz
remove ondblclick handler from HTML output
Diffstat (limited to 'lib/coderay/encoders')
-rw-r--r--lib/coderay/encoders/html/output.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/encoders/html/output.rb b/lib/coderay/encoders/html/output.rb
index 9132d94..de6f6ea 100644
--- a/lib/coderay/encoders/html/output.rb
+++ b/lib/coderay/encoders/html/output.rb
@@ -124,7 +124,7 @@ module Encoders
TABLE = Template.new <<-TABLE
<table class="CodeRay"><tr>
- <td class="line-numbers" title="double click to toggle" ondblclick="with (this.firstChild.style) { display = (display == '') ? 'none' : '' }"><pre><%LINE_NUMBERS%></pre></td>
+ <td class="line-numbers"><pre><%LINE_NUMBERS%></pre></td>
<td class="code"><pre><%CONTENT%></pre></td>
</tr></table>
TABLE