cms/app-client/mirage/serializers/theme.js
changeset 314 f5690d918358
parent 306 3fccf43160a7
child 319 78990a8a069b
--- a/cms/app-client/mirage/serializers/theme.js	Sun Oct 02 19:11:06 2016 +0200
+++ b/cms/app-client/mirage/serializers/theme.js	Sun Oct 02 19:14:07 2016 +0200
@@ -12,8 +12,8 @@
             response.models.sort(function(a, b) {
                 var aLabel = a.label.toUpperCase();
                 var bLabel = b.label.toUpperCase();
-                if (aLabel < bLabel) return -1;
-                if (aLabel > bLabel) return 1;
+                if (aLabel < bLabel) { return -1; }
+                if (aLabel > bLabel) { return 1; }
                 return 0;
             });
         // Descending order