mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-02 20:34:07 +02:00
Add a warning for outdated config in reply-account plugin
This commit is contained in:
parent
5205d59b96
commit
976ba074a8
@ -14,6 +14,11 @@ enabled(){
|
|||||||
|
|
||||||
if (configuration.useAdvancedSelector){
|
if (configuration.useAdvancedSelector){
|
||||||
if (configuration.customSelector){
|
if (configuration.customSelector){
|
||||||
|
if (configuration.customSelector.toString().startsWith("function (column){")){
|
||||||
|
$TD.alert("warning", "Plugin reply-account has invalid configuration: customSelector needs to be updated due to TweetDeck changes, please read the default configuration file for the updated guide");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var section = data.element.closest("section.column");
|
var section = data.element.closest("section.column");
|
||||||
|
|
||||||
var column = TD.controller.columnManager.get(section.attr("data-column"));
|
var column = TD.controller.columnManager.get(section.attr("data-column"));
|
||||||
|
Loading…
Reference in New Issue
Block a user