diff options
author | Peter Bengtsson <mail@peterbe.com> | 2021-02-25 08:31:36 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2021-02-25 08:31:36 -0500 |
commit | 97065b2e68dd8768dc1ea092c893c57ebe205026 (patch) | |
tree | 11bf4a1114c543989c24c7a801ba379b2c20a30c /files/ru/mozilla/add-ons/webextensions/user_interface | |
parent | d1794f6b276285489b417053507f432a14be31df (diff) | |
download | translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.gz translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.bz2 translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.zip |
use class="hidden" not style="display:none"
Diffstat (limited to 'files/ru/mozilla/add-ons/webextensions/user_interface')
-rw-r--r-- | files/ru/mozilla/add-ons/webextensions/user_interface/popups/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ru/mozilla/add-ons/webextensions/user_interface/popups/index.html b/files/ru/mozilla/add-ons/webextensions/user_interface/popups/index.html index 23541f5a60..a6e6746c07 100644 --- a/files/ru/mozilla/add-ons/webextensions/user_interface/popups/index.html +++ b/files/ru/mozilla/add-ons/webextensions/user_interface/popups/index.html @@ -12,7 +12,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/user_interface/Popups <p>When the user clicks the button, the popup is shown. When the user clicks anywhere outside the popup, the popup is closed. The popup can be closed programmatically by calling <code><a href="https://developer.mozilla.org/en-US/docs/Web/API/Window/close">window.close()</a></code> from a script running in the popup. However, you can't open the popup programmatically from an extension's JavaScript: it can only be opened in response to a user action.</p> -<p>You can define a keyboard shortcut that opens the popup using the <code>"_execute_browser_action"</code> and <code>"_execute_page_action"</code> shortcuts. See the documentation for the manifest.json key <code><a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/commands">commands</a></code><span style="display: none;"> </span>.</p> +<p>You can define a keyboard shortcut that opens the popup using the <code>"_execute_browser_action"</code> and <code>"_execute_page_action"</code> shortcuts. See the documentation for the manifest.json key <code><a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/commands">commands</a></code><span class="hidden"> </span>.</p> <h2 id="Specifying_a_popup">Specifying a popup</h2> |