Commit 03187b9dad071577947968b89b9c6aef6d6c4d41
use less fragile insertion point for location bar
Dominic Tarr committed on 7/22/2016, 9:13:18 AMParent: 5b997de1810135a0ed40eb331bcb6c6a38939280
Files changed
modules/tabs.js | changed |
modules/tabs.js | ||
---|---|---|
@@ -41,9 +41,9 @@ | ||
41 | 41 | return change |
42 | 42 | } |
43 | 43 | }) |
44 | 44 | |
45 | - tabs.insertBefore(search, tabs.querySelector('.hypertabs__content')) | |
45 | + tabs.insertBefore(search, tabs.firstChild.nextSibling) | |
46 | 46 | |
47 | 47 | var saved = [] |
48 | 48 | // try { saved = JSON.parse(localStorage.openTabs) } |
49 | 49 | // catch (_) { } |
Built with git-ssb-web