From 39c6af86aa9eb84a3dda5eb683bae4230b37e602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn?= Date: Mon, 4 Jul 2016 16:12:33 +0200 Subject: [PATCH] display the amount of questionmarks in totals --- trelloscrum.js | 85 +++++++++++++++++++++++++++++--------------------- 1 file changed, 50 insertions(+), 35 deletions(-) diff --git a/trelloscrum.js b/trelloscrum.js index 797de5d..9f03eed 100644 --- a/trelloscrum.js +++ b/trelloscrum.js @@ -27,7 +27,7 @@ var debounce = function (func, threshold, execAsap) { function delayed () { if (!execAsap) func.apply(obj, args); - timeout = null; + timeout = null; }; if (timeout) @@ -91,7 +91,7 @@ if(typeof chrome !== 'undefined'){ scrumLogoUrl = self.options.scrumLogoUrl; scrumLogo18Url = self.options.scrumLogo18Url; } - + // FIREFOX_BEGIN_REMOVE (will just remove this closing bracket). } // FIREFOX_END_REMOVE @@ -177,13 +177,13 @@ var recalcTotalsObserver = new CrossBrowser.MutationObserver(function(mutations) } } }); - + if(doFullRefresh){ recalcListAndTotal(); } else if(refreshJustTotals){ calcListPoints(); } - + // There appears to be a change to have the card-title always be a textarea. We'll allow for either way, to // start (in case this is A/B testing, or they don't keep it). 20160409 $editControls = $(".card-detail-title .edit-controls"); // old selector @@ -253,7 +253,7 @@ function showBurndown() var windowHeaderUtils = $('
', {class: 'window-header-utils dialog-close-button'}).append( $('', {class: 'icon-lg icon-close dark-hover js-close-window', href: '#', title:'Close this dialog window.'}) ); var iFrameWrapper = $('
', {style: 'padding:10px; padding-top: 13px;'}); var flameIcon = $('', {style: 'position:absolute; margin-left: 20px; margin-top:15px;', src:flame18Url}); - + var actualIFrame = $('