diff options
author | Kjell Kvinge <kjell@kvinge.biz> | 2017-01-22 13:10:01 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-01-22 20:10:01 +0800 |
commit | f9a3aa87370ae432a1db6a57af939bd672353156 (patch) | |
tree | 6dd30c3c169d9fb37388aaf77d52c4d2ca421d67 /public/js/draw.js | |
parent | f8c2903484f0db71b9d2ca29f67a38cb7d738699 (diff) | |
download | gitea-f9a3aa87370ae432a1db6a57af939bd672353156.tar.gz gitea-f9a3aa87370ae432a1db6a57af939bd672353156.zip |
add scroolbars to wide graphs. (#608)
* Add scrollbars to graph and revlist if needed.
* Add border
Diffstat (limited to 'public/js/draw.js')
-rw-r--r-- | public/js/draw.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/public/js/draw.js b/public/js/draw.js index fadb3330b3..fd99e1a73d 100644 --- a/public/js/draw.js +++ b/public/js/draw.js @@ -10,8 +10,4 @@ $(document).ready(function () { }) gitGraph(document.getElementById('graph-canvas'), graphList); - - if ($("#rev-container")) { - $("#rev-container").css("width", document.body.clientWidth - document.getElementById('graph-canvas').width); - } }) |