notifications: Fix typo

Use this instead of undeclared window.