Move the showKindleMail() call outside the conditional for updating the local variable. Fixes Click to Set not being shown if kindle mail is empty.
This commit is contained in:
parent
a9dc5f6f65
commit
a5dba428f6
|
|
@ -78,8 +78,8 @@ function getContents() {
|
|||
if ( admin ) $("#parsebooks").removeClass("hide");
|
||||
if ( data.kindlemail != kindlemail ) {
|
||||
kindlemail = data.kindlemail;
|
||||
showKindleMail();
|
||||
}
|
||||
showKindleMail();
|
||||
if ( data.bookdir != currentpath ) {
|
||||
currentpath = data.bookdir;
|
||||
if ( data.bookdirname != "" ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user