comparison rhodecode/templates/base/root.html @ 2812:ad4bc0f66d6a beta

fixes #557 follower counter always counts up
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 05 Sep 2012 23:55:29 +0200
parents 269c6e0b54cc
children 867820342329
comparison
equal deleted inserted replaced
2811:b1467856a638 2812:ad4bc0f66d6a
88 } 88 }
89 else{ 89 else{
90 f.setAttribute('class','follow'); 90 f.setAttribute('class','follow');
91 f.setAttribute('title',_TM['Start following this repository']); 91 f.setAttribute('title',_TM['Start following this repository']);
92 if(f_cnt){ 92 if(f_cnt){
93 var cnt = Number(f_cnt.innerHTML)+1; 93 var cnt = Number(f_cnt.innerHTML)-1;
94 f_cnt.innerHTML = cnt; 94 f_cnt.innerHTML = cnt;
95 } 95 }
96 } 96 }
97 } 97 }
98 98