diff --git a/view/theme/frio/js/textedit.js b/view/theme/frio/js/textedit.js
index 2423171ec..73f7c9ec9 100644
--- a/view/theme/frio/js/textedit.js
+++ b/view/theme/frio/js/textedit.js
@@ -119,21 +119,16 @@ function commentCloseUI(obj, id) {
$(document).bind( "click.commentClose", handler );
}
-// test if there is default content in the jot text box and remove it
function jotTextOpenUI(obj) {
- if(obj.value == aStr.share) {
- obj.value = '';
+ if (obj.value == '') {
$(".modal-body #profile-jot-text").addClass("profile-jot-text-full").removeClass("profile-jot-text-empty");
// initiale autosize for the jot
autosize($(".modal-body #profile-jot-text"));
}
}
-// insert default content into the jot text box
-// if it's empty
function jotTextCloseUI(obj) {
- if(obj.value === '') {
- obj.value = aStr.share;
+ if (obj.value === '') {
$(".modal-body #profile-jot-text").removeClass("profile-jot-text-full").addClass("profile-jot-text-empty");
// destroy the automatic textarea resizing
autosize.destroy($(".modal-body #profile-jot-text"));
diff --git a/view/theme/frio/templates/jot.tpl b/view/theme/frio/templates/jot.tpl
index bcf002132..90d17f6c4 100644
--- a/view/theme/frio/templates/jot.tpl
+++ b/view/theme/frio/templates/jot.tpl
@@ -62,7 +62,7 @@
{{* The jot text field in which the post text is inserted *}}
-
+
@@ -123,9 +123,5 @@ can load different content into the jot moadl (e.g. the item edit jot)
$('iframe').load(function() {
this.style.height = this.contentWindow.document.body.offsetHeight + 'px';
});
-
- // insert new object with value to aStr
- // function jotTextOpenUI does make use of it
- aStr.share = "{{$share}}";
diff --git a/view/theme/frost-mobile/templates/jot.tpl b/view/theme/frost-mobile/templates/jot.tpl
index b883dfa0b..0c31681b8 100644
--- a/view/theme/frost-mobile/templates/jot.tpl
+++ b/view/theme/frost-mobile/templates/jot.tpl
@@ -26,7 +26,7 @@
{{/if}}