diff --git a/includes/jquery.ticker.js b/includes/jquery.ticker.js index 96799e8..d807ae0 100755 --- a/includes/jquery.ticker.js +++ b/includes/jquery.ticker.js @@ -118,7 +118,7 @@ // add the controls to the DOM if required if (opts.controls) { // add related events - set functions to run on given event - $(settings.dom.controlsID).live('click mouseover mousedown mouseout mouseup', function (e) { + $(document).on('click mouseover mousedown mouseout mouseup',settings.dom.controlsID, function (e) { var button = e.target.id; if (e.type == 'click') { switch (button) { @@ -424,4 +424,4 @@ fadeInSpeed: 600, fadeOutSpeed: 300 }; -})(jQuery); \ No newline at end of file +})(jQuery);