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:
@@ -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 != "") {
|
||||||
|
|||||||
Reference in New Issue
Block a user