1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-04 10:09:38 +02:00
This commit is contained in:
gorhill 2014-07-12 22:53:17 -04:00
parent 9ea818b583
commit b1e92fdbaa

View File

@ -112,7 +112,8 @@
/******************************************************************************/
/******************************************************************************/
// Cut & pasted here because this is an injected script.
// Cut & pasted here from reference implementation in messagin-client.js
// because this is an injected script.
var messaging = (function(name){
var port = null;
@ -736,6 +737,10 @@ var startPicker = function(details) {
svgIslands = svgRoot.querySelector('path + path');
pickerRoot.appendChild(svgRoot);
// TODO: do not rely on element ids, they could collide with whatever
// is used in the page. Just use built-in hierarchy of elements as
// selectors.
divDialog = document.createElement('div');
divDialog.innerHTML = [
'<div>',