From 6d7868815ce731b4445b9f87afa09f98be280797 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 8 Nov 2017 00:21:59 -0500 Subject: add stub about and config dialogs --- htdocs/js/mathy.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'htdocs/js/mathy.js') diff --git a/htdocs/js/mathy.js b/htdocs/js/mathy.js index 500f677..7acd7ab 100644 --- a/htdocs/js/mathy.js +++ b/htdocs/js/mathy.js @@ -28,12 +28,21 @@ jQuery(function($) { help: [ "", "%{examples}", - "
  • ", + "
  • ", + "
  • ", + "", + "About Mathy", + "", "
  • ", ], @@ -42,6 +51,7 @@ jQuery(function($) { "", "%{num|h}. %{name|h}", @@ -239,7 +249,7 @@ jQuery(function($) { text: row.text.join('\n'), })); }).join(''), - })).on('click', 'a', function() { + })).on('click', 'a.example', function() { var text = $(this).data('text'); // hide dropdown -- cgit v1.2.3