Skip to content

Commit f64ae9f

Browse files
committed
Fix for IE11
Resolves #294
1 parent 17659fb commit f64ae9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

assets/components/collections/js/mgr/widgets/category/collections.grid.resources.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,9 @@ Ext.extend(collections.grid.ContainerCollections,MODx.grid.Grid,{
487487
},this);
488488
}
489489

490-
,getSetting: function(value, def = null) {
490+
,getSetting: function(value, def) {
491+
if (def === undefined) def = null;
492+
491493
if (value === null) return def;
492494

493495
return value;

0 commit comments

Comments
 (0)