no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / toolkit / content / macWindowMenu.js
blobbdd86c50f8b3eca6a340fa06b5b9aadeaf03efac
1 // -*- indent-tabs-mode: nil; js-indent-level: 2 -*-
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4  * License, v. 2.0. If a copy of the MPL was not distributed with this
5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 function zoomWindow() {
8   if (window.windowState == window.STATE_NORMAL) {
9     window.maximize();
10   } else {
11     window.restore();
12   }