Jump to content
Search Community

DRPS

Members
  • Posts

    1
  • Joined

  • Last visited

DRPS's Achievements

0

Reputation

  1. I am currently using the Draggable and TweenMax plugins and one of them seems to be causing a weird issue. I have a toast element which I make visible via TweenMax and I am using Draggable.create on another element on the site. <div class="toast"><p>Hello World</p></div> jQuery(document).ready(function($) { $(document).on("click", ".toast", function() { alert('clicked'); }); }); When I rename .toast to anything else like .my_toast and then want to register the click on it via jQuery my code is working just fine. So what could cause this problem? Do TweenMax or Draggable prevent the Click event to be registered?
×
×
  • Create New...