```javascript
$(window).resize(self.updateDiacritics);
```