diff options
author | Florian Dieminger <me@fiji-flo.de> | 2021-02-25 14:37:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-25 14:37:47 +0100 |
commit | 8879aacd682787fc20ffe2661733f9cd267c81ce (patch) | |
tree | 11bf4a1114c543989c24c7a801ba379b2c20a30c /files/ru/mozilla | |
parent | d1794f6b276285489b417053507f432a14be31df (diff) | |
parent | 97065b2e68dd8768dc1ea092c893c57ebe205026 (diff) | |
download | translated-content-8879aacd682787fc20ffe2661733f9cd267c81ce.tar.gz translated-content-8879aacd682787fc20ffe2661733f9cd267c81ce.tar.bz2 translated-content-8879aacd682787fc20ffe2661733f9cd267c81ce.zip |
Merge pull request #70 from peterbe/use-classhidden-not-styledisplaynone
use class="hidden" not style="display:none"
Diffstat (limited to 'files/ru/mozilla')
-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> |