From 46f908bab0a111c6868f76344b52a801af08d93a Mon Sep 17 00:00:00 2001 From: Bengt Brodersen Date: Wed, 25 Nov 2015 12:17:08 +0100 Subject: [PATCH] minor fixes --- bookmarklet.js | 5 +++-- card.css | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bookmarklet.js b/bookmarklet.js index e41591b..bdcad85 100644 --- a/bookmarklet.js +++ b/bookmarklet.js @@ -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; } diff --git a/card.css b/card.css index 92c5ba2..13d3572 100644 --- a/card.css +++ b/card.css @@ -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%); }