From ecbbe87a0d22465ce46ec772e560bf4b0ebec08b Mon Sep 17 00:00:00 2001 From: Simon Huber Date: Thu, 11 Jul 2019 07:35:06 +0200 Subject: [PATCH] popup cancelling - use state reference in the google group there's a discussion: https://groups.google.com/forum/#!topic/tiddlywiki/_mDDZ1jpMgU buttons allow setting a state-reference for popups but the popup mechanism doesn't respect that --- core/modules/utils/dom/popup.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/modules/utils/dom/popup.js b/core/modules/utils/dom/popup.js index 7411a6d8b..d44da6779 100644 --- a/core/modules/utils/dom/popup.js +++ b/core/modules/utils/dom/popup.js @@ -158,7 +158,11 @@ Popup.prototype.cancel = function(level) { for(var t=level; t