note image detail

This commit is contained in:
azivner
2018-11-08 10:30:35 +01:00
parent d0d2a7fe47
commit 21e952a7f0
13 changed files with 39 additions and 67 deletions

View File

@@ -1,7 +1,7 @@
import noteDetailService from "./note_detail.js";
const $searchString = $("#search-string");
const $noteDetailSearch = $('#note-detail-search');
const $component = $('#note-detail-search');
function getContent() {
JSON.stringify({
@@ -10,7 +10,7 @@ function getContent() {
}
function show() {
$noteDetailSearch.show();
$component.show();
try {
const json = JSON.parse(noteDetailService.getCurrentNote().content);