davatron5000 / FitText.js

A jQuery plugin for inflating web type
http://fittextjs.com
6.76k stars 1.39k forks source link

problems on orientation change #25

Closed nosarious closed 11 years ago

nosarious commented 12 years ago

I had some problems with a somewhat complicated website (a publishing engine for magazines) where it did not always update on orientation change.

I added this under the window.resize function:

$(window).orientationChange(function(){ resizer($this); });

Seems to work fine now.

nosarious commented 12 years ago

orientationchange not orientationChange

davatron5000 commented 11 years ago

Duplicate of #14