Se a Eliminado de Head los script js para evitar su carga inecesaria cuando no hace falta
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
function doRefresh() {
|
||||
$("#vote-panel").load(document.URL + " #vote-panel>*", function(){
|
||||
$.getScript('/static/nw-themes/nw-ryu/nw-js-handlers/vote_points_response.js');
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.vote-button').each(function() {
|
||||
var button = $(this);
|
||||
@@ -59,6 +65,8 @@ $(document).ready(function() {
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
function startCooldownTimer(button, remainingTime) {
|
||||
var interval = setInterval(function() {
|
||||
if (remainingTime <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user