|
@@ -29,35 +29,39 @@
|
|
|
|
|
|
|
|
<!-- Side Scroll Bar-->
|
|
<!-- Side Scroll Bar-->
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ * Disabled temporally -- 2018.06.06 Yuki Takei
|
|
|
|
|
+ * see https://weseek.myjetbrains.com/youtrack/issue/GC-278
|
|
|
|
|
+ *
|
|
|
<script>
|
|
<script>
|
|
|
|
|
+ function DrawScrollbar() {
|
|
|
|
|
+ var h = window.innerHeight - 50 ;
|
|
|
|
|
+ $('#revision-toc-content').slimScroll({
|
|
|
|
|
+ railVisible: true,
|
|
|
|
|
+ position: 'right',
|
|
|
|
|
+ height: h,
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ $(function(){
|
|
|
|
|
+ DrawScrollbar();
|
|
|
|
|
+ });
|
|
|
|
|
|
|
|
-function DrawScrollbar() {
|
|
|
|
|
|
|
+ (function () {
|
|
|
|
|
+ var timer = 0;
|
|
|
|
|
|
|
|
- var h = window.innerHeight - (document.getElementById('revision-toc').clientHeight) ;
|
|
|
|
|
- $('#revision-toc-content').slimScroll({
|
|
|
|
|
- railVisible: true,
|
|
|
|
|
- height: h,
|
|
|
|
|
- });
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-$(function(){
|
|
|
|
|
- DrawScrollbar();
|
|
|
|
|
-});
|
|
|
|
|
-
|
|
|
|
|
-(function () {
|
|
|
|
|
- var timer = 0;
|
|
|
|
|
-
|
|
|
|
|
- window.onresize = function () {
|
|
|
|
|
- if (timer > 0) {
|
|
|
|
|
- clearTimeout(timer);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- timer = setTimeout(function () {
|
|
|
|
|
- DrawScrollbar();
|
|
|
|
|
- }, 200);
|
|
|
|
|
- };
|
|
|
|
|
-}());
|
|
|
|
|
-</script>
|
|
|
|
|
|
|
+ window.onresize = function () {
|
|
|
|
|
+ if (timer > 0) {
|
|
|
|
|
+ clearTimeout(timer);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ timer = setTimeout(function () {
|
|
|
|
|
+ DrawScrollbar();
|
|
|
|
|
+ }, 200);
|
|
|
|
|
+ };
|
|
|
|
|
+ }());
|
|
|
|
|
+
|
|
|
|
|
+ </script>
|
|
|
|
|
|
|
|
<footer class="footer">
|
|
<footer class="footer">
|
|
|
{% include '../../widget/system-version.html' %}
|
|
{% include '../../widget/system-version.html' %}
|