mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 02:57:59 +01:00
Add search to the MOW, skip search results in hidden nodes, and fix MOW sizing issues.
This commit is contained in:
@@ -275,7 +275,7 @@ var Buffer = Module("buffer", {
|
||||
*/
|
||||
get localStore() {
|
||||
let doc = content.document;
|
||||
let store = overlay.getData(doc, "buffer");
|
||||
let store = overlay.getData(doc, "buffer", null);
|
||||
if (!store || !buffer.localStorePrototype.isPrototypeOf(store))
|
||||
store = overlay.setData(doc, "buffer", Object.create(buffer.localStorePrototype));
|
||||
return store.instance = store;
|
||||
|
||||
Reference in New Issue
Block a user