From 183051b8e368d407852cd747705f9819a780e852 Mon Sep 17 00:00:00 2001 From: Oddant1 Date: Wed, 3 Jun 2020 11:00:36 -0700 Subject: [PATCH] HACK: Remove "Open in Vega Editor" from volatility for now (#154) --- q2_longitudinal/assets/volatility/index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/q2_longitudinal/assets/volatility/index.html b/q2_longitudinal/assets/volatility/index.html index 741a50e..46b6ccb 100644 --- a/q2_longitudinal/assets/volatility/index.html +++ b/q2_longitudinal/assets/volatility/index.html @@ -151,6 +151,12 @@

Feature Stats Subplot Controls

var toolbar = $('div .vega-actions').detach(); toolbar.addClass('btn-group'); toolbar.children('a').each(function() { + // NOTE: We're just skipping this bit until we get the plot working with + // Vega 5 + if(this.innerHTML == "Open in Vega Editor"){ + this.remove() + return true + } $(this).addClass('btn btn-default'); }); $('Export as TSV')