-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added a new web page for dictionary #21
Conversation
console.log(request.savedArticles.URL) | ||
console.log(allSavedArticles[i].URL) | ||
if(request.savedArticles.URL === allSavedArticles[i].URL && i == len-1){ | ||
j=10; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
j =10; for what??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To have a check whether the loop is terminated at i = allSavedArticles.length, it is an extra condition. j=10, the value is specified only for a check, any value can be specified.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try using boolean expression for the same. Boolean is made for the purpose.
extension/templates/options.html
Outdated
<br> | ||
<hr> | ||
<div class="row"> | ||
<!-- <br> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls remove these multiple comments cluster, and add a single comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have made the changes accordingly and made the commit.
#11
Added a new web page for dictionary view.
#20
fixed the bug in the article view section of saving the same articles twice.
Now an article with the same URL will not be saved again if it was saved earlier.