minor fixes

This commit is contained in:
Bengt Brodersen 2015-11-25 12:17:08 +01:00
parent 4bdee03fe7
commit 46f908bab0
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
(function() {
var global = {};
global.version = "4.2.1.1";
global.issueTrackingUrl = "https://github.com/qoomon/Jira-Issue-Card-Printer";
global.isDev = document.currentScript == null;
global.isProd = !global.isDev;
@ -25,7 +26,7 @@
init().then(function(){
main();
}).catch(function(cause){
alert("ERROR on init!\n\n" + JSON.stringify(cause,2,2));
alert("ERROR on init! Please create an issue at " + global.issueTrackingUrl);
});
});
@ -45,7 +46,7 @@
console.log("App: " + "YouTrack");
global.appFunctions = youTrackFunctions;
} else {
alert("Unsupported app.Please create an issue at https://github.com/qoomon/Jira-Issue-Card-Printer");
alert("Unsupported app. Please create an issue at " + global.issueTrackingUrl);
return;
}

View File

@ -145,9 +145,9 @@ body {
.issue-id-fadeout {
position: absolute;
left: 2.4rem;
top: 1.2rem;
top: 1.3rem;
width: 1.2rem;
height: 1.3rem;
height: 1.2rem;
z-index: 0;
background: linear-gradient(to left, rgba(224, 224, 224, 0) 0%, rgba(224, 224, 224, 1) 60%);
}