Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Do not load our stylesheet into the main page
Browse files Browse the repository at this point in the history
Fixes #1596
  • Loading branch information
ianb committed Nov 29, 2016
1 parent 2cdc397 commit 7ac0e43
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions addon/data/shooter-interactive-worker.js
Expand Up @@ -930,24 +930,6 @@ function removeHandlers() {
registeredDocumentHandlers = [];
}

function addStylesheet() {
let linkUrl = self.options["inline-selection.css"];
var link = document.getElementById("pageshot-stylesheet");
if (! link) {
link = document.createElement("link");
link.setAttribute("rel", "stylesheet");
link.setAttribute("id", "pageshot-stylesheet");
link.setAttribute("href", linkUrl);
if (document.head) {
document.head.appendChild(link);
}
}
}

if (! isChrome) {
addStylesheet();
}

snapping.init();

/**********************************************************
Expand Down

0 comments on commit 7ac0e43

Please sign in to comment.