mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-09 13:16:05 +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) {
|
this.getPageById = function(id) {
|
||||||
var pages = this.getPageList().filter(function(x) {
|
var pages = this.getPageList().filter(function(x) {
|
||||||
return (pageList[k].id = id);
|
return (x.id = id);
|
||||||
});
|
});
|
||||||
return (pages.length > 0 ? pages[0] : null);
|
return (pages.length > 0 ? pages[0] : null);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user