aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-06-05 11:21:02 +0200
committermarijus <mario@mariovavti.com>2014-06-05 11:21:02 +0200
commit48f856e84cb117b6224ae7a1e0cac30070f1af24 (patch)
tree14f2bad0aec2d3f212cfce8e3145cf9a5c7745ca /view/theme/redbasic
parent4c9d8fd79d806391f68423f004d087035ba60e0a (diff)
downloadvolse-hubzilla-48f856e84cb117b6224ae7a1e0cac30070f1af24.tar.gz
volse-hubzilla-48f856e84cb117b6224ae7a1e0cac30070f1af24.tar.bz2
volse-hubzilla-48f856e84cb117b6224ae7a1e0cac30070f1af24.zip
we probably want a seperate namespace to not disable all click events in document
Diffstat (limited to 'view/theme/redbasic')
-rw-r--r--view/theme/redbasic/js/redbasic.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index f7f4d3dc2..5a9d2f390 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -1,6 +1,6 @@
function commentOpenRedbasic(obj,id) {
- $(document).unbind( "click", handler );
+ $(document).unbind( "click.commentOpen", handler );
var handler = function() {
if(obj.value == aStr['comment']) {
@@ -10,13 +10,13 @@ function commentOpenRedbasic(obj,id) {
}
};
- $(document).bind( "click", handler );
+ $(document).bind( "click.commentOpen", handler );
}
function commentCloseRedbasic(obj,id) {
- $(document).unbind( "click", handler );
+ $(document).unbind( "click.commentClose", handler );
var handler = function() {
if(obj.value == '') {
@@ -26,7 +26,7 @@ function commentCloseRedbasic(obj,id) {
}
};
- $(document).bind( "click", handler );
+ $(document).bind( "click.commentClose", handler );
}