From d1bb1de87f1f5c1189f7a19fc712835e976957bd Mon Sep 17 00:00:00 2001 From: Thomas Hallgren Date: Wed, 21 Aug 2019 14:27:56 +0200 Subject: [PATCH] Minibar: support for links to open a given grammar in the minibar When you press the "i" or "More info" button for a grammar, the info now includes a link that can be used by anyone to open this specific grammar in the minibar. --- src/www/minibar/minibar.js | 8 +++++++- src/www/minibar/minibar_online.js | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/www/minibar/minibar.js b/src/www/minibar/minibar.js index 6822e7926..944d4d93b 100644 --- a/src/www/minibar/minibar.js +++ b/src/www/minibar/minibar.js @@ -220,7 +220,7 @@ Minibar.prototype.get_pgf_info=function() { Minibar.prototype.show_pgf_info=function(info) { var t=this; var cnt=0; - console.log(info) + //console.log(info) info=info.split("\n"); for(var i=0;i