Bug 1567276 - Refactor inspector to inspectorFront. r=rcaliman

Differential Revision: https://phabricator.services.mozilla.com/D38554
This commit is contained in:
Gabriel Luong
2019-07-18 15:33:55 -04:00
parent e4056f0213
commit 12587ec458
46 changed files with 137 additions and 109 deletions

View File

@@ -79,7 +79,7 @@ class MarkupContextMenu {
* This method is here for the benefit of copying links.
*/
_copyAttributeLink(link) {
this.inspector.inspector
this.inspector.inspectorFront
.resolveRelativeURL(link, this.selection.nodeFront)
.then(url => {
clipboardHelper.copyString(url);