diff options
-rw-r--r-- | bubble.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -339,8 +339,8 @@ function run() { initSvg(); // Set PROFILE=1 to enable profiling when using the button. -var ticks = 0, PROFILE = 1; -if (/no-auto/.test(location.search)) { +var ticks = 0, PROFILE = /\bprofile\b/.test(location.search); +if (/\bno-auto\b/.test(location.search)) { // advanced stuff here: profiling! d3.select('body').append('button') .style('position', 'absolute') |