aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js/redbasic.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/redbasic/js/redbasic.js')
-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 );
}