Skip to content

Commit 9f1bd83

Browse files
committed
add check for options object existence
1 parent 30b79a3 commit 9f1bd83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ define([
1919

2020
var _this = this;
2121

22+
this.options.pluginsOptions = this.options.plugins || this.options.pluginsOptions || {};
2223
this.options.pluginsOptions.bubble = $.extend(true, {
23-
2424
bubbleData: [],
2525
godMode: false, //temporary
2626
pointRadius: 7,

0 commit comments

Comments
 (0)