Home

About Repartidor En Un Mundo Post-apocalíptico

Todos Los Generos: Action, Apocalipto, Comedy, Drama, Ecchi, Harem, Manhua Con el fin del mundo acercándose, Ye Fan obtuvo un súper sistema de entrega de alimentos. En los últimos días, siempre que Ye Fan complete la tarea de entrega, puede obtener varias recompensas. A partir de entonces, Ye Fan recurrió a 18 artes marciales para entregar la comida a tiempo y se embarcó en un camino sin retorno… .mark-completed { display: inline-block; margin-left: 0px; position: relative; } .wp-manga-mark-completed-single { color: #777; text-decoration: none; cursor: pointer; } .wp-manga-mark-completed-single .fa-check-circle.completed { color: #4CAF50; } .wp-manga-mark-completed-single:hover { color: #333; } .mark-completed-disabled { color: #ccc !important; cursor: not-allowed !important; text-decoration: none; } .tooltip-text { display: none; position: absolute; background: #333; color: #fff; padding: 5px 10px; border-radius: 3px; font-size: 12px; bottom: 100%; left: 50%; transform: translateX(-50%); white-space: nowrap; margin-bottom: 5px; z-index: 100; } .mark-completed:hover .tooltip-text { display: block; } jQuery(document).ready(function ($) { var canVote = true; // Variable para controlar si el usuario puede votar // Manejar clic en "Me gusta" $('.kodex-like-btn').on('click', function () { if (canVote) { var post_id = $(this).data('post-id'); vote(post_id, 'like', $(this)); } }); // Manejar clic en "No me gusta" $('.kodex-dislike-btn').on('click', function () { if (canVote) { var post_id = $(this).data('post-id'); vote(post_id, 'dislike', $(this)); } }); // Función para enviar el voto function vote(post_id, type, button) { if (!canVote) return; // Si no puede votar, salir de la función canVote = false; // Desactivar la posibilidad de votar // Desactivar los botones $('.kodex-like-btn, .kodex-dislike-btn').prop('disabled', true); // Mostrar el mensaje de espera $('.kodex-wait-message').text('Espera 10 segundos antes de votar nuevamente.').fadeIn(); // Enviar la solicitud AJAX $.ajax({ url: 'https://lectortaurus.com/wp-admin/admin-ajax.php', type: 'POST', data: { action: 'kodex_update_vote', post_id: post_id, type: type }, success: function (response) { if (response.success) { // Quitar la clase "active" de ambos botones $('.kodex-like-btn, .kodex-dislike-btn').removeClass('active'); // Añadir la clase "active" al botón en el que se hizo clic button.addClass('active'); // Mostrar el mensaje de actualización $('.kodex-vote-message').text('¡Voto actualizado!').fadeIn().delay(2000).fadeOut(); // Actualizar los contadores de votos $('.like-count').text(response.data.likes); $('.dislike-count').text(response.data.dislikes); } else { // Mostrar mensaje de error $('.kodex-vote-message').text(response.data).fadeIn().delay(2000).fadeOut(); } // Habilitar los botones después de 10 segundos setTimeout(function () { canVote = true; $('.kodex-like-btn, .kodex-dislike-btn').prop('disabled', false); $('.kodex-wait-message').fadeOut(); // Ocultar el mensaje de espera }, 10000); // 10 segundos // Ocultar el mensaje de espera después de 3 segundos $('.kodex-wait-message').delay(3000).fadeOut(); } }); } }); Rating 5 -->

All chapters of Repartidor En Un Mundo Post-apocalíptico