Skip to content

Commit

Permalink
Simplified JS window.HoloViews logic
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jun 5, 2018
1 parent 98af752 commit a5ec08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/widgets/widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ function init_dropdown(id, plot_id, dim, vals, value, next_vals, labels, next_di
if (window.HoloViews === undefined) {
window.HoloViews = {}
window.PyViz = window.HoloViews
} else if ((window.HoloViews !== undefined) && (window.PyViz === undefined)) {
} else if (window.PyViz === undefined) {
window.PyViz = window.HoloViews
}

Expand Down

0 comments on commit a5ec08c

Please sign in to comment.