Permalink
Browse files

Removed the Javascript. It conflicts with the highlighting code.

  • Loading branch information...
1 parent 7749e17 commit dd888c9603972146eb57c90235f856ea91037d0b @JosephPecoraro JosephPecoraro committed May 30, 2009
Showing with 0 additions and 10 deletions.
  1. +0 −10 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);
-}

0 comments on commit dd888c9

Please sign in to comment.