1
0
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:
Kris Maglione
2011-10-01 18:03:48 -04:00
parent cbbb3de86f
commit d14e57ee9a
5 changed files with 34 additions and 14 deletions

View File

@@ -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;