diff options
author | Rasmus Andersson <rasmus@notion.se> | 2019-08-05 05:35:36 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2019-08-05 05:35:36 +0300 |
commit | ba49662904d5ba716802be57a48ea84cf89d3f10 (patch) | |
tree | b65881e04e169632dffc617269c56c50731d37f0 /docs/index-var.js | |
parent | 672ead9a6cf4f20772bccb217055d8b5d84fc6bc (diff) | |
download | inter-ba49662904d5ba716802be57a48ea84cf89d3f10.tar.xz |
release 3.8
Diffstat (limited to 'docs/index-var.js')
-rw-r--r-- | docs/index-var.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/index-var.js b/docs/index-var.js index 19f4aeaa2..46ef24ae6 100644 --- a/docs/index-var.js +++ b/docs/index-var.js @@ -64,6 +64,10 @@ var ui = { if (unsupportedMessage) { unsupportedMessage.classList.add('active') } + } else { + this.state.size = window.innerWidth / 10 + root.querySelector(`[name="size"]`).value = this.state.size + this.update() } }, |