From 4125272689573f06c82db9dffd686eb8cbc760c4 Mon Sep 17 00:00:00 2001 From: Tlazypanda Date: Fri, 19 Jun 2020 14:08:09 +0530 Subject: [PATCH] improve accessibility of new note page --- app/views/editor/rich.html.erb | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/app/views/editor/rich.html.erb b/app/views/editor/rich.html.erb index 66728c5081..97ed75c963 100644 --- a/app/views/editor/rich.html.erb +++ b/app/views/editor/rich.html.erb @@ -66,6 +66,7 @@

- +

@@ -156,7 +158,7 @@
- +

- +

- +
@@ -237,6 +239,7 @@
<% if @zoom %> editor.mapModule.blurredLocation.setZoom(<%= @zoom %>); @@ -440,7 +443,7 @@ $('#coord_input').toggle(); }); $("#coord_input").hide(); - + $(function() { var target = document.querySelector('#map_content'); var observer = new MutationObserver(function(mutations) { @@ -459,7 +462,7 @@ } } setLocationButtonText(); - + $("#obscureLocation").prop('checked', <%= @map_blurred %>); editor.mapModule.blurredLocation.setBlurred(<%= @map_blurred %>); @@ -508,4 +511,3 @@ } -