Mercurial > agora-palash
diff templates/snippet/snippet_details.js @ 149:cdfc1d269a75
Move syntax-highlighting JS to static/js/agora.js
I don't remember why I did this but I assume I had a reason
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Mon, 15 Oct 2012 00:24:16 -0400 |
parents | 3cd28df6f85b |
children |
line wrap: on
line diff
--- a/templates/snippet/snippet_details.js Mon Oct 15 00:23:04 2012 -0400 +++ b/templates/snippet/snippet_details.js Mon Oct 15 00:24:16 2012 -0400 @@ -19,17 +19,6 @@ }); /** - * Changing syntax highlighting colours - */ - var currentStyle = $('#change-highlighting').attr('data-default'); - $('#change-highlighting').change(function () { - var newStyle = $(this).find(':selected').attr('data-name'); - - $('.snippet').removeClass(currentStyle).addClass(newStyle); - currentStyle = newStyle; - }); - - /** * Line Highlighting */ $('div.snippet th a').each(function(i){