From 785bde84dd4888817bb9825ba5ab388ec2b7c4b7 Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 4 May 2017 03:27:33 +0200 Subject: Update to date --- source/js/code_scrollbar.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 source/js/code_scrollbar.js (limited to 'source/js/code_scrollbar.js') diff --git a/source/js/code_scrollbar.js b/source/js/code_scrollbar.js new file mode 100644 index 00000000..b99914c8 --- /dev/null +++ b/source/js/code_scrollbar.js @@ -0,0 +1,10 @@ +$(function() +{ + $('.sourceCode diff').jScrollPane(); +}); + +$(window).bind('resize', function() { + var scroll = $('.sourceCode diff').jScrollPane(); + location.reload(); + scroll.reinitialise(); +}); -- cgit v1.2.1