Chromium Code Reviews| Index: tools/sodium/sodium.js |
| diff --git a/tools/sodium/sodium.js b/tools/sodium/sodium.js |
| index 44475a177f77151e6fddf78438ce03d899e71cc4..56abe4382e2d0b914660a8c2ba8d9b90b0fceb24 100644 |
| --- a/tools/sodium/sodium.js |
| +++ b/tools/sodium/sodium.js |
| @@ -342,7 +342,7 @@ var Sodium = (function() { |
| var source = getCurrentSourceText(); |
| var sourceDivElement = document.getElementById('source-text'); |
| var code = getCurrentCodeObject(); |
| - var newHtml = "<pre class=\"prettyprint linenums\" id=\"source-text\">" |
| + var newHtml = "<pre class=\"prettyprint linenums\" id=\"source-text-pre\">" |
|
Dmitry Lomov (no reviews)
2013/10/23 09:06:50
Construct this with createElement instead of HTML
|
| + 'function ' + code.name + source + "</pre>"; |
| sourceDivElement.innerHTML = newHtml; |
| try { |