Browse Source

fix for retry to decode shortened URI if we got null response

readme-update
Simon Grim 8 years ago
parent
commit
572242e0c1
  1. 2
      js/interface_common.js

2
js/interface_common.js

@ -896,7 +896,7 @@ function fetchShortenedURI(req, attemptCount) {
if ((req.attemptCount ? ++req.attemptCount : req.attemptCount = 1) < 3) // < $.Options.decodeShortURITriesMax if ((req.attemptCount ? ++req.attemptCount : req.attemptCount = 1) < 3) // < $.Options.decodeShortURITriesMax
fetchShortenedURI(req.shortURI, req.attemptCount); fetchShortenedURI(req.shortURI, req.attemptCount);
} }
}, {short: req, attemptCount: attemptCount} }, {shortURI: req, attemptCount: attemptCount}
); );
} }

Loading…
Cancel
Save