mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1084689 - Update ReadingList banner icon, r=margaret, lucasr
This commit is contained in:
parent
5d370fff1a
commit
cc342778ce
@ -478,6 +478,7 @@ public class Tab {
|
||||
JSONObject json = new JSONObject();
|
||||
try {
|
||||
json.put("tabID", String.valueOf(getId()));
|
||||
json.put("url", getURL());
|
||||
} catch (JSONException e) {
|
||||
Log.e(LOGTAG, "JSON error - failing to add to reading list", e);
|
||||
return;
|
||||
|
@ -191,6 +191,7 @@ AboutReader.prototype = {
|
||||
}
|
||||
|
||||
case "Reader:Add": {
|
||||
// Page can be added by long-press pageAction, or by tap on banner icon.
|
||||
let args = JSON.parse(aData);
|
||||
if (args.url == this._article.url) {
|
||||
if (this._isReadingListItem != 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user