X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=gallery%2Frange-selector.js;h=0ea9efa84a2a3eee7df2390750962c059eaa5915;hb=1357d81ebb85b87b69a9de0eb01c5d8cb43774d2;hp=4d9a82ad897c5ff244b59ee41ef4ada9837b2884;hpb=e14dc3feda3e6d429bb953dab83c593d851d90af;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(