Closed tyrauber closed 11 years ago
.... $(window).on causes FitText to throw the js error: "TypeError: 'undefined' is not a function (evaluating '$(window).on('resize.fittext orientationchange.fittext', resizer)')". $(window).bind does not and is compatible with jQuery 1.0/
jQuery 1.4.2 is over 3 years old. I think we're going to prefer on() as it's recommended by jQuery.
on()
As of jQuery 1.7, the .on() method is the preferred method for attaching event handlers to a document
http://api.jquery.com/bind/
.... $(window).on causes FitText to throw the js error: "TypeError: 'undefined' is not a function (evaluating '$(window).on('resize.fittext orientationchange.fittext', resizer)')". $(window).bind does not and is compatible with jQuery 1.0/