• Выдаёт ошибку

    event is not defined

    
    jQuery(document).ready(function($) {
    
      var realkit_upload_thumb_button = $('.realkit_upload_thumb_button');
      if (realkit_upload_thumb_button.length) {
        realkit_upload_thumb_button.on('click', function() {
    
          var button = $(this), frame;
    
          event.preventDefault();
    

    Надо заменить 5 строку на
    realkit_upload_thumb_button.on('click', function(event) {

    • This topic was modified 6 years, 5 months ago by alexsakhnov. Reason: markup
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Ломает js’ is closed to new replies.