diff options
author | Joseph Pecoraro <joepeck02@gmail.com> | 2009-05-30 00:48:22 -0400 |
---|---|---|
committer | Joseph Pecoraro <joepeck02@gmail.com> | 2009-05-30 00:48:22 -0400 |
commit | dd888c9603972146eb57c90235f856ea91037d0b (patch) | |
tree | 22e3ec6275b5995249a63df1d475bf2428fd2bc9 /railties/guides/files | |
parent | 7749e1784c1127cf532d9f41a0331ed266ebec6d (diff) | |
download | rails-dd888c9603972146eb57c90235f856ea91037d0b.tar.gz rails-dd888c9603972146eb57c90235f856ea91037d0b.tar.bz2 rails-dd888c9603972146eb57c90235f856ea91037d0b.zip |
Removed the Javascript. It conflicts with the highlighting code.
Diffstat (limited to 'railties/guides/files')
-rwxr-xr-x | railties/guides/files/javascripts/guides.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/railties/guides/files/javascripts/guides.js b/railties/guides/files/javascripts/guides.js index 14bad4beb9..c4e4d459ea 100755 --- a/railties/guides/files/javascripts/guides.js +++ b/railties/guides/files/javascripts/guides.js @@ -5,13 +5,3 @@ function guideMenu(){ document.getElementById('guides').style.display = "none"; } } - -// Fix Copy+Paste of Code blocks in Firefox 3 -if ( window.addEventListener && document.getElementsByClassName ) { - window.addEventListener('load', function() { - var list = document.getElementsByClassName('code_container'); - for (var i=0, len=list.length; i<len; i++) { - list[i].innerHTML = list[i].innerHTML.replace(/\n/g, '<br />'); - } - }, false); -} |