Skip to content

Commit

Permalink
Fix: corrected options merge, closes #23
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrichson committed Sep 23, 2018
1 parent 4ad0203 commit 857c8f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/apostrophe-places-widgets/public/js/always.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apos.define('apostrophe-places-widgets', {
var items = data._pieces || [];

var _options = _.cloneDeep(self.options.mapOptions || {});
_.merge(_.options, options || {});
_.merge(_options, options || {});

// initiate the addMap method of the pieces parent
apos.maps[self.options.piecesModuleName].addMap({
Expand Down

0 comments on commit 857c8f5

Please sign in to comment.