[Pkg-mozext-commits] [wot] 136/226: small trick to make WT RW works
David Prévot
taffit at moszumanska.debian.org
Fri May 1 00:35:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository wot.
commit cff601425cb5ac36c134a8fe4297496ac0a333c4
Author: Sergey Andryukhin <sorgoz at yandex.com>
Date: Mon Sep 2 14:07:09 2013 +0300
small trick to make WT RW works
---
content/rw/ratingwindow.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/content/rw/ratingwindow.js b/content/rw/ratingwindow.js
index 739887b..01ff723 100644
--- a/content/rw/ratingwindow.js
+++ b/content/rw/ratingwindow.js
@@ -1026,11 +1026,11 @@ $.extend(wot, { ratingwindow: {
_rw.rate_control.init(); // init handlers of rating controls
bg.wot.core.update(true); // this starts main data initialization (e.g. before it, there is no "cached" data)
- var wt = bg.wot.wt,
+ var wt = bg.wot.wt,
locale = wot.i18n("locale");
// Welcome Tip button "close"
- $(".wt-rw-close").click(function (e){
+ $(".wt-rw-close").bind("click", function (e){
wot.ratingwindow.reveal_ratingwindow();
wot.ratingwindow.count_window_opened();
@@ -1042,7 +1042,7 @@ $.extend(wot, { ratingwindow: {
});
// Welcome Tip "learn more" link handler
- $("#wt-learnmore-link").click(function (){
+ $("#wt-learnmore-link").bind("click", function (){
var time_before_click = Math.round(wot.time_since(wot.ratingwindow.opened_time));
wot.ga.fire_event(wot.ga.categories.WT, wot.ga.actions.WT_RW_LEARN, String(time_before_click));
bg.wot.core.open_mywot(wot.urls.tour_rw, wot.urls.contexts.wt_rw_lm); // FIXME
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git
More information about the Pkg-mozext-commits
mailing list