From 13fa473c6d51c4e7e305468238f2a0d1a5dcc21b Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 22 Oct 2013 11:33:45 -0400 Subject: [PATCH] Fix JSHINT --- app/assets/javascripts/discourse/dialects/bbcode_dialect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/dialects/bbcode_dialect.js b/app/assets/javascripts/discourse/dialects/bbcode_dialect.js index 5942857ede8..ba6f4b5b303 100644 --- a/app/assets/javascripts/discourse/dialects/bbcode_dialect.js +++ b/app/assets/javascripts/discourse/dialects/bbcode_dialect.js @@ -90,7 +90,7 @@ replaceBBCodeParamsRaw("email", function(param, contents) { }); replaceBBCodeParams("size", function(param, contents) { - return ['span', {'class': "bbcode-size-" + (parseInt(param) || 1)}].concat(contents); + return ['span', {'class': "bbcode-size-" + (parseInt(param, 10) || 1)}].concat(contents); }); // Handles `[code] ... [/code]` blocks