diff --git a/content/getting_started.md b/content/getting_started.md index 7eb8336..784a539 100644 --- a/content/getting_started.md +++ b/content/getting_started.md @@ -17,9 +17,9 @@ Once you have downloaded the appropriate distribution and extracted the files so To install Nim from git, ensure that you have gcc installed on Windows, Linux, and BSDs and clang on Mac. Afterwards, run the following series of commands to download and bootstrap Nim: ```console -$ git clone -b master git://github.com/Araq/Nimrod.git -$ cd Nimrod -$ git clone --depth 1 git://github.com/nimrod-code/csources +$ git clone -b master git://github.com/Araq/Nim.git +$ cd Nim +$ git clone --depth 1 git://github.com/nim-code/csources $ cd csources $ sh build.sh # Replace with build.bat on windows $ cd .. diff --git a/content/js/main.js b/content/js/main.js index 095e52d..d1e84ae 100644 --- a/content/js/main.js +++ b/content/js/main.js @@ -7,7 +7,7 @@ function setVisibleTags(){ } } -var isMobile = window.matchMedia("only screen and (max-width: 720px)").matches; +var isMobile = window.screen.width < 720; if (localStorage.getItem("openside") === null) { window.sidebarExpanded = !isMobile; } else {