diff options
Diffstat (limited to 'static/view.js')
-rw-r--r-- | static/view.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/static/view.js b/static/view.js new file mode 100644 index 0000000..c855609 --- /dev/null +++ b/static/view.js @@ -0,0 +1,5 @@ +window.onload = function() { + var line = 'code' + document.location.hash.substr(1); + var codeline = document.getElementById(line); + codeline.className = 'selected'; +} |