1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-22 18:15:47 +02:00

Fix inconsistency with loadConfigurationFile's onFailure parameter

This commit is contained in:
chylex 2016-09-25 03:21:44 +02:00
parent 47935165db
commit 3e9c397494

View File

@ -15,7 +15,7 @@
try{
obj = eval("("+contents+")");
}catch(err){
if (!(onFailure && onFailure(err.message))){
if (!(onFailure && onFailure(err))){
$TD.alert("warning", "Problem loading '"+fileName+"' file for '"+identifier+"' plugin, the JavaScript syntax is invalid: "+err.message);
}