X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=gallery%2Frange-selector.js;h=0ea9efa84a2a3eee7df2390750962c059eaa5915;hb=406714e12102ee6714774e2801622577ca0daa16;hp=4d9a82ad897c5ff244b59ee41ef4ada9837b2884;hpb=72c8bf9993215da78476fa918af09e12b297a34c;p=dygraphs.git diff --git a/gallery/range-selector.js b/gallery/range-selector.js index 4d9a82a..0ea9efa 100644 --- a/gallery/range-selector.js +++ b/gallery/range-selector.js @@ -4,11 +4,12 @@ Gallery.register( name: 'Range Selector', title: 'Demo of the Range Selector', setup: function(parent) { - parent.innerHTML = - "
No roll period.
" + - "" + - "Roll period of 14 timesteps, custom range selector height and plot color.
" + - ""; + parent.innerHTML = [ + "No roll period.
", + "", + "", + "Roll period of 14 timesteps, custom range selector height and plot color.
", + ""].join("\n"); }, run: function() { g1 = new Dygraph(