diff --git a/chrome/content/zotero/containers/tagSelectorContainer.jsx b/chrome/content/zotero/containers/tagSelectorContainer.jsx index 3b3c77aec9..0bdf1c63e7 100644 --- a/chrome/content/zotero/containers/tagSelectorContainer.jsx +++ b/chrome/content/zotero/containers/tagSelectorContainer.jsx @@ -620,7 +620,7 @@ Zotero.TagSelector = class TagSelectorContainer extends React.PureComponent { io.tagColors = tagColors; window.openDialog( - 'chrome://zotero/content/tagColorChooser.xul', + 'chrome://zotero/content/tagColorChooser.xhtml', 'zotero-tagSelector-colorChooser', 'chrome,modal,centerscreen', io ); diff --git a/chrome/content/zotero/tagColorChooser.js b/chrome/content/zotero/tagColorChooser.js index 42b46849ef..21a364c6bb 100644 --- a/chrome/content/zotero/tagColorChooser.js +++ b/chrome/content/zotero/tagColorChooser.js @@ -29,7 +29,7 @@ var Zotero_Tag_Color_Chooser = new function() { var _io; this.init = function () { - var dialog = document.getElementById('tag-color-chooser'); + var dialog = document.querySelector('dialog'); try { // Set font size from pref diff --git a/chrome/content/zotero/tagColorChooser.xul b/chrome/content/zotero/tagColorChooser.xhtml similarity index 91% rename from chrome/content/zotero/tagColorChooser.xul rename to chrome/content/zotero/tagColorChooser.xhtml index 4e0fd8a04e..f36c467ce1 100644 --- a/chrome/content/zotero/tagColorChooser.xul +++ b/chrome/content/zotero/tagColorChooser.xhtml @@ -28,17 +28,21 @@ - + + >