mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
Update chrome.js
This commit is contained in:
parent
10e70e0a7e
commit
7d49122aee
|
@ -195,7 +195,7 @@ var ChromeObject = function() {
|
|||
|
||||
this.getPageById = function(id) {
|
||||
var pages = this.getPageList().filter(function(x) {
|
||||
return (pageList[k].id = id);
|
||||
return (x.id = id);
|
||||
});
|
||||
return (pages.length > 0 ? pages[0] : null);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user