From f8fee8e3d032e824ac548def3818bc441e732315 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Mon, 24 Jun 2013 23:27:34 -0700 Subject: [PATCH] fixed 404 placeholder image template helper. --- UI/Handlebars/Helpers/Html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/Handlebars/Helpers/Html.js b/UI/Handlebars/Helpers/Html.js index 9265515ad..e2c0572fa 100644 --- a/UI/Handlebars/Helpers/Html.js +++ b/UI/Handlebars/Helpers/Html.js @@ -5,6 +5,6 @@ define( 'handlebars' ], function (Handlebars) { Handlebars.registerHelper('defaultImg', function () { - return new Handlebars.SafeString('onerror="this.src="/content/images/poster-dark.jpg";"'); + return new Handlebars.SafeString('onerror=this.src=\'/content/images/poster-dark.jpg\';'); }); });