diff --git a/src/zen/common/ZenCommonUtils.mjs b/src/zen/common/ZenCommonUtils.mjs index 7237eae9..fab73404 100644 --- a/src/zen/common/ZenCommonUtils.mjs +++ b/src/zen/common/ZenCommonUtils.mjs @@ -72,7 +72,7 @@ var gZenCommonActions = { let transferable = Cc['@mozilla.org/widget/transferable;1'].createInstance( Ci.nsITransferable ); - transferable.init(getLoadContext()); + transferable.init(window.docShell.QueryInterface(Ci.nsILoadContext)); transferable.addDataFlavor('text/plain'); transferable.setTransferData('text/plain', str); Services.clipboard.setData(transferable, null, Ci.nsIClipboard.kGlobalClipboard); @@ -110,7 +110,7 @@ var gZenCommonActions = { let transferable = Cc['@mozilla.org/widget/transferable;1'].createInstance( Ci.nsITransferable ); - transferable.init(getLoadContext()); + transferable.init(window.docShell.QueryInterface(Ci.nsILoadContext)); transferable.addDataFlavor('text/plain'); transferable.setTransferData('text/plain', str); Services.clipboard.setData(transferable, null, Ci.nsIClipboard.kGlobalClipboard); diff --git a/src/zen/common/styles/zen-browser-ui.css b/src/zen/common/styles/zen-browser-ui.css index a82d2b18..a8bdeda1 100644 --- a/src/zen/common/styles/zen-browser-ui.css +++ b/src/zen/common/styles/zen-browser-ui.css @@ -104,7 +104,7 @@ #zen-main-app-wrapper, #zen-appcontent-wrapper, #zen-sidebar-splitter { - appearance: -moz-window-sidebar !important; + appearance: -moz-sidebar !important; } }