Mercurial > zeropaste
diff app/assets/javascripts/init.tabs.js @ 133:342373709d16
No need to test window.prettyPrint.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Mon, 12 Nov 2012 17:28:12 +0700 |
parents | e05e47f7d224 |
children | 3c777dbd6b11 |
line wrap: on
line diff
--- a/app/assets/javascripts/init.tabs.js Mon Nov 12 17:27:53 2012 +0700 +++ b/app/assets/javascripts/init.tabs.js Mon Nov 12 17:28:12 2012 +0700 @@ -10,7 +10,7 @@ markdown.find('pre').addClass('prettyprint'); markdown.find('a').prop('rel', 'nofollow'); - window.prettyPrint && prettyPrint(); + prettyPrint(); update_state = function() { var paste = $('#paste'),