diff app/assets/javascripts/init.tabs.js @ 109:90eee69e4ee9

Shorter selector.
author Edho Arief <edho@myconan.net>
date Mon, 12 Nov 2012 12:28:51 +0700
parents a949b71c9afb
children e8c632b0eb80
line wrap: on
line diff
--- a/app/assets/javascripts/init.tabs.js	Mon Nov 12 12:27:39 2012 +0700
+++ b/app/assets/javascripts/init.tabs.js	Mon Nov 12 12:28:51 2012 +0700
@@ -1,5 +1,5 @@
 $(document).ready(function() {
-  raw = $('#plain > pre').text();
+  raw = $('#plain pre').text();
 
   $('#highlight pre').text(raw);
   window.prettyPrint && prettyPrint();