Commit graph

7 commits

Author SHA1 Message Date
glacambre
2b44d73ac9
Turn noiframeon setting into a site-specific setting
As discussed on riot, turning noiframeon into a site-specific setting
is a good thing for consistency. This commit also adds a deprecation
warning when users try to `:set noiframeon` and updates the
troubleshooting guide.
2018-11-28 07:58:46 +01:00
glacambre
3f6dee0342
commandline_content.ts: Move try/catch out of init() function
The try/catch in init() prevents errors from bubbling up and thus
also prevents the document.addEventListener("DOMContentLoaded", init)
call from being performed. We fix this by removing the try/catch from
init() and adding a new one in the document.addEventListener call.
2018-11-28 07:07:41 +01:00
glacambre
2ad7d4a9fb
commandline_content.ts: Fix cmdline not being inserted in non-html pages
This commit fixes the command line not appearing on
https://www.haiku-os.org/docs/HIG/index.xml. The problem was that
document.createElement uses the namespace of the current document, which
for the haiku-os page was a docbook namespace. This caused the created
iframe to have default docbook attributes and none of the regular html
ones (e.g. contentWindow).

Closes https://github.com/tridactyl/tridactyl/issues/1165 .
2018-11-18 14:28:33 +01:00
Saul Reynolds-Haertle
987bf32976 move src/styling.ts into src/content 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
3160137c57 move src/messaging.ts to src/lib/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
c531aa5481 Move src/config.ts to src/lib/ 2018-09-29 18:03:36 -07:00
Saul Reynolds-Haertle
539fcb18c1 Move src/commandline_content.ts to src/content/ 2018-09-29 18:03:36 -07:00
Renamed from src/commandline_content.ts (Browse further)