jQuery(document).ready(function ($) { // Login Input Hack if ($('.forgetmenot').length > 0) { $('.forgetmenot').find('input').prependTo($('.forgetmenot')); $('.forgetmenot').find('label').attr('for', 'rememberme'); $('#simplemodal-login-form').find('input[type="submit"]').val('Огонь'); } setTimeout(function () { $('#sidebar div.widget').each(function () { if ($(this).height() == 0) { $(this).hide(); } }); }, 2000); });