From a670356a4e7372d872a2dfe24c8a40b4b31c837d Mon Sep 17 00:00:00 2001 From: ruanyf Date: Tue, 22 Apr 2014 07:01:47 +0800 Subject: [PATCH] add prism.js --- js/ditto.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/ditto.js b/js/ditto.js index 5b78fa7..d1b8af9 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -191,9 +191,7 @@ function router() { }).always(function() { clearInterval(loading); - var block = document.getElementById('content') - Prism.highlightElement(block); + Prism.highlightAll(); $(ditto.loading_id).hide(); - }); }