Tweak padding for test-build warning
This commit is contained in:
parent
b18a47b0d2
commit
16f66227bd
1 changed files with 2 additions and 2 deletions
|
@ -415,10 +415,10 @@ var ZoteroPane = new function()
|
||||||
try {
|
try {
|
||||||
let isDevBuild = Zotero.version.includes('-dev');
|
let isDevBuild = Zotero.version.includes('-dev');
|
||||||
// Uncomment to test
|
// Uncomment to test
|
||||||
//isDevBuild = isDevBuild || Zotero.version.includes('.SOURCE');
|
//isDevBuild = true;
|
||||||
if (isDevBuild) {
|
if (isDevBuild) {
|
||||||
let label = document.createXULElement('label');
|
let label = document.createXULElement('label');
|
||||||
label.setAttribute('style', 'font-weight: bold; color: red; cursor: pointer; margin-right: .5em');
|
label.setAttribute('style', 'font-weight: bold; color: red; cursor: pointer; margin: 0 .5em 0 1em');
|
||||||
label.onclick = function () {
|
label.onclick = function () {
|
||||||
Zotero.launchURL('https://www.zotero.org/support/kb/test_builds');
|
Zotero.launchURL('https://www.zotero.org/support/kb/test_builds');
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue