aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js/redbasic.js
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-05-24 19:16:11 +0200
committermarijus <mario@mariovavti.com>2014-05-24 19:16:11 +0200
commit2bdecdce17057e4464f54918ad17d48071006161 (patch)
tree7120287e1937ce45fd788ca003732e10974da1ce /view/theme/redbasic/js/redbasic.js
parent5b0db721f8ef7bd347db47a2200783de9953808a (diff)
downloadvolse-hubzilla-2bdecdce17057e4464f54918ad17d48071006161.tar.gz
volse-hubzilla-2bdecdce17057e4464f54918ad17d48071006161.tar.bz2
volse-hubzilla-2bdecdce17057e4464f54918ad17d48071006161.zip
for some reason this is also needed to make it work reliable in webkit browsers
Diffstat (limited to 'view/theme/redbasic/js/redbasic.js')
-rw-r--r--view/theme/redbasic/js/redbasic.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index ec848dd3b..58acc1b95 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -1,3 +1,13 @@
+function commentOpenRedbasic(obj,id) {
+ $(document).click(function() {
+ if(obj.value == aStr['comment']) {
+ obj.value = '';
+ $("#comment-edit-text-" + id).addClass("comment-edit-text-full").removeClass("comment-edit-text-empty");
+ $("#comment-tools-" + id).show();
+ }
+ });
+}
+
function commentCloseRedbasic(obj,id) {
$(document).click(function() {
if(obj.value == '') {