From d11b16dad623ebb939416c2d1f026d80cca8a11b Mon Sep 17 00:00:00 2001 From: Yuki Date: Sat, 6 Jun 2015 05:57:15 +0530 Subject: [PATCH 1/3] Possibly fix /ajax/preview --- app/controllers/ajax/question_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/ajax/question_controller.rb b/app/controllers/ajax/question_controller.rb index 2be73fc3..b0af3ae7 100644 --- a/app/controllers/ajax/question_controller.rb +++ b/app/controllers/ajax/question_controller.rb @@ -86,7 +86,7 @@ class Ajax::QuestionController < ApplicationController @message = "Failed to render markdown." begin - @markdown = markdown(params[:md], Time.new) + @markdown = markdown params[:md] @message = "Successfully rendered markdown." rescue @status = :fail From 7c0d881ac6bf33cd37f6beaff4720bd993b2bd5f Mon Sep 17 00:00:00 2001 From: Iain Dawson Date: Sat, 6 Jun 2015 16:07:12 +0100 Subject: [PATCH 2/3] Expect cloned versions of this repo to be called 'retrospring'. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 736197ff..fbb0c120 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,8 @@ for the configuration we use on Retrospring. #### Configure It - # Change into the justask directory - $ cd justask + # Change into the project directory + $ cd retrospring # Copy the example config $ cp config/justask.yml.example config/justask.yml From 96e367852be666801aa41f8710fc09ac05873a60 Mon Sep 17 00:00:00 2001 From: Iain Dawson Date: Sat, 6 Jun 2015 16:57:17 +0100 Subject: [PATCH 3/3] Move the north-of-768px styles up one pixel. Prevents the site looking totally broken at exactly 768px wide. --- app/assets/stylesheets/scss/navbar.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/scss/navbar.scss b/app/assets/stylesheets/scss/navbar.scss index 3efc537f..dea8c9dd 100644 --- a/app/assets/stylesheets/scss/navbar.scss +++ b/app/assets/stylesheets/scss/navbar.scss @@ -133,7 +133,7 @@ border: none; } -@media (min-width: 768px) { +@media (min-width: 769px) { nav.navbar .nav > li:not(.profile--image-dropdown) { -moz-osx-font-smoothing: grayscale; position: relative;