Skip to content

Commit 57ce345

Browse files
committed
Adding a namespace for FitText events so they can be turned .off('.FitText')
1 parent dfabf19 commit 57ce345

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jquery.fittext.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
resizer();
3535

3636
// Call on resize. Opera debounces their resize by default.
37-
$(window).on('resize orientationchange', resizer);
37+
$(window).on('resize.FitText orientationchange.FitText', resizer);
3838

3939
});
4040

4141
};
4242

43-
})( jQuery );
43+
})( jQuery );

0 commit comments

Comments
 (0)