From 92e6fbd67a398fa186b3f32a0c34a672e77903d0 Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Sun, 25 Aug 2019 01:35:23 +0200 Subject: [PATCH] code commenting --- js/main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/main.js b/js/main.js index 7161b80..18bbf18 100644 --- a/js/main.js +++ b/js/main.js @@ -16,8 +16,14 @@ window.onload = function() { $header.toggleClass('unrolled'); $header.toggleClass('rolled'); }); + + // Move the title out of the content div $('.title').prependTo($("body")); + + // Move the postamble in the content div $('#postamble').appendTo($("#content")); + + // Move each table in a div to handle large tables' overflow $('table').each(function(){ $table = $(this); $table.before('
');