forknote / forknote-pool

Mining pool for Bytecoin/Forknote based coins such as Bytecoin and Dashcoin.
https://github.com/forknote/forknote-pool
GNU General Public License v2.0
122 stars 185 forks source link

Fixed excessive xmlHttpRequests on home.html #32

Closed avtc closed 6 years ago

avtc commented 6 years ago

To reproduce - open chrome - F12 (dev panel) - Network - on home page, input valid address to lookup, and wait several seconds. There are 9 similar requests spawning every n seconds with &longpoll=false

That is because $('.yourStats').show(function() ...) calls the function() for every element with class yourStats.

pmitchev commented 6 years ago

thank you for the contribution