From bc5d69bf1c3bebe2e3e20d5e997444c355d47d93 Mon Sep 17 00:00:00 2001 From: Joseph Atkins-Turkish Date: Mon, 11 Jan 2016 17:19:36 -0800 Subject: [PATCH] Include PBI in per-platform resource previews --- ide/static/ide/js/resources.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ide/static/ide/js/resources.js b/ide/static/ide/js/resources.js index d303b6b4..47e99922 100644 --- a/ide/static/ide/js/resources.js +++ b/ide/static/ide/js/resources.js @@ -722,7 +722,7 @@ CloudPebble.Resources = (function() { CloudPebble.Sidebar.SetIcon('resource-'+resource.id, 'edit'); }); - pane.find('.image-platform-preview').toggle((_.contains(['png', 'png-trans', 'bitmap'], resource.kind))); + pane.find('.image-platform-preview').toggle((_.contains(['png', 'png-trans', 'bitmap', 'pbi'], resource.kind))); pane.find("#edit-resource-file-name").val(resource.file_name);