From 572242e0c1853595c04c4aa6352a7d1b26953bf0 Mon Sep 17 00:00:00 2001 From: Simon Grim Date: Thu, 5 May 2016 09:32:45 +0500 Subject: [PATCH] fix for retry to decode shortened URI if we got null response --- js/interface_common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/interface_common.js b/js/interface_common.js index 39111f5..dd60eb6 100644 --- a/js/interface_common.js +++ b/js/interface_common.js @@ -896,7 +896,7 @@ function fetchShortenedURI(req, attemptCount) { if ((req.attemptCount ? ++req.attemptCount : req.attemptCount = 1) < 3) // < $.Options.decodeShortURITriesMax fetchShortenedURI(req.shortURI, req.attemptCount); } - }, {short: req, attemptCount: attemptCount} + }, {shortURI: req, attemptCount: attemptCount} ); }