From 6cd17f222949c2eac476d5f558982c11733728e9 Mon Sep 17 00:00:00 2001 From: Jonny Tischbein Date: Wed, 24 Oct 2018 18:09:54 +0200 Subject: [PATCH] Code Standard: indent + renaming function in camelcase --- view/theme/frio/js/textedit.js | 6 +++--- view/theme/frio/templates/jot-header.tpl | 4 ++-- view/theme/frio/templates/jot.tpl | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/view/theme/frio/js/textedit.js b/view/theme/frio/js/textedit.js index 5074c3009c..bf68d0f5dc 100644 --- a/view/theme/frio/js/textedit.js +++ b/view/theme/frio/js/textedit.js @@ -2,9 +2,9 @@ * @brief The file contains functions for text editing and commenting */ -function commentGetLink(id,prompttext) { - reply = prompt(prompttext); - if(reply && reply.length) { +function commentGetLink(id, prompttext) { + reply = prompt(prompttext); + if(reply && reply.length) { reply = bin2hex(reply); $.get('parse_url?noAttachment=1&binurl=' + reply, function(data) { addCommentText(data, id); diff --git a/view/theme/frio/templates/jot-header.tpl b/view/theme/frio/templates/jot-header.tpl index 8289692f37..73c7690f6e 100644 --- a/view/theme/frio/templates/jot-header.tpl +++ b/view/theme/frio/templates/jot-header.tpl @@ -180,13 +180,13 @@ $("#jot-popup").show(); } - function linkdropper(event) { + function linkDropper(event) { var linkFound = event.dataTransfer.types.contains("text/uri-list"); if(linkFound) event.preventDefault(); } - function linkdrop(event) { + function linkDrop(event) { var reply = event.dataTransfer.getData("text/uri-list"); var noAttachment = ''; event.target.textContent = reply; diff --git a/view/theme/frio/templates/jot.tpl b/view/theme/frio/templates/jot.tpl index 46d0351d9d..b5c061b75c 100644 --- a/view/theme/frio/templates/jot.tpl +++ b/view/theme/frio/templates/jot.tpl @@ -98,7 +98,7 @@
  • -
  • +