Skip to content

Commit

Permalink
fix extra space in isEnabled overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed Jan 4, 2021
1 parent 1b37c2f commit 9861117
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 51 deletions.
25 changes: 9 additions & 16 deletions browserAction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -431,22 +431,6 @@ Checks whether the toolbar action is enabled.
:type: (:ref:`browserAction.Details`)


.. _browserAction.openPopup:

openPopup()
-----------

.. api-section-annotation-hack::

Opens the extension popup window in the active window.

.. _browserAction.isEnabled :

isEnabled ()
------------

.. api-section-annotation-hack::

.. api-header::
:label: Return type (`Promise`_)

Expand All @@ -457,6 +441,15 @@ isEnabled ()

.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. _browserAction.openPopup:

openPopup()
-----------

.. api-section-annotation-hack::

Opens the extension popup window in the active window.

.. rst-class:: api-main-section

Events
Expand Down
25 changes: 9 additions & 16 deletions composeAction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -436,22 +436,6 @@ Checks whether the toolbar action is enabled.
:type: (:ref:`composeAction.Details`)


.. _composeAction.openPopup:

openPopup()
-----------

.. api-section-annotation-hack::

Opens the extension popup window in the active window.

.. _composeAction.isEnabled :

isEnabled ()
------------

.. api-section-annotation-hack::

.. api-header::
:label: Return type (`Promise`_)

Expand All @@ -462,6 +446,15 @@ isEnabled ()

.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. _composeAction.openPopup:

openPopup()
-----------

.. api-section-annotation-hack::

Opens the extension popup window in the active window.

.. rst-class:: api-main-section

Events
Expand Down
25 changes: 9 additions & 16 deletions messageDisplayAction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -429,22 +429,6 @@ Checks whether the toolbar action is enabled.
:type: (:ref:`messageDisplayAction.Details`)


.. _messageDisplayAction.openPopup:

openPopup()
-----------

.. api-section-annotation-hack::

Opens the extension popup window in the active window.

.. _messageDisplayAction.isEnabled :

isEnabled ()
------------

.. api-section-annotation-hack::

.. api-header::
:label: Return type (`Promise`_)

Expand All @@ -455,6 +439,15 @@ isEnabled ()

.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. _messageDisplayAction.openPopup:

openPopup()
-----------

.. api-section-annotation-hack::

Opens the extension popup window in the active window.

.. rst-class:: api-main-section

Events
Expand Down
2 changes: 1 addition & 1 deletion overlay/browserAction.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
],
"functions": [
{
"name": "isEnabled ",
"name": "isEnabled",
"returns": {
"type": "boolean"
}
Expand Down
2 changes: 1 addition & 1 deletion overlay/composeAction.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
],
"functions": [
{
"name": "isEnabled ",
"name": "isEnabled",
"returns": {
"type": "boolean"
}
Expand Down
2 changes: 1 addition & 1 deletion overlay/messageDisplayAction.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
],
"functions": [
{
"name": "isEnabled ",
"name": "isEnabled",
"returns": {
"type": "boolean"
}
Expand Down

0 comments on commit 9861117

Please sign in to comment.