1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 04:35:56 +00:00

fix previous: secondary dialog not opening because of onLoad

This commit is contained in:
Andrew Dolgov
2021-02-12 14:35:10 +03:00
parent 8f8675a26a
commit 219cc9a0ab

View File

@@ -332,7 +332,7 @@ const Filters = {
/* global getSelectionText */ /* global getSelectionText */
const selectedText = getSelectionText(); const selectedText = getSelectionText();
const lh = dojo.connect(dialog, "onLoad", function () { const lh = dojo.connect(dialog, "onShow", function () {
dojo.disconnect(lh); dojo.disconnect(lh);
if (selectedText != "") { if (selectedText != "") {