mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-11 21:15:44 +02:00
Fix warning message about TweetDeck Preview appearing on login screen
This commit is contained in:
parent
a58a1b347a
commit
57111212ea
@ -1,7 +1,7 @@
|
||||
import { $TD } from "../api/bridge.js";
|
||||
|
||||
export default function() {
|
||||
if (!("TD" in window)) {
|
||||
if (location.pathname === "/" && !("TD" in window)) {
|
||||
$TD.alert("warning", "Some TweetDuck features failed to load. This might happen if your Twitter account is enrolled into the TweetDeck Preview, which TweetDuck does not support. Try opting out of the TweetDeck Preview to restore TweetDuck's functionality.");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user