From 08c0d39b2380d672f652b9f36003a2adb7995d9a Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Sun, 25 Mar 2018 14:55:42 +0200 Subject: [PATCH] Update translator.js --- js/translator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/translator.js b/js/translator.js index b1e90ab2..56850fc7 100644 --- a/js/translator.js +++ b/js/translator.js @@ -126,7 +126,7 @@ var Translator = (function() { // variables: {timeToWait: "2 hours", work: "painting"} // to: "Please wait for 2 hours before continuing with painting." function createStringFromTemplate(template, variables) { - if(Object.prototype.toString.call(template) !== '[object String]') { + if(Object.prototype.toString.call(template) !== "[object String]") { return template; } if(variables.fallback && !template.match(new RegExp("\{.+\}"))) {