diff --git a/4chan_x.user.js b/4chan_x.user.js index a435f6a9f..79da6283f 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -965,11 +965,11 @@ var arr, checked, description, dialog, hiddenNum, hiddenThreads, html, input, key, li, link, main, obj, overlay, ul, _i, _j, _len, _len2, _ref, _ref2, _ref3; hiddenThreads = $.getValue("hiddenThreads/" + g.BOARD + "/", {}); hiddenNum = Object.keys(g.hiddenReplies).length + Object.keys(hiddenThreads).length; - html = "
main | sauce | time
support throd | github | uso | donate

"; - dialog = ui.dialog('options', { - top: '25%', - left: '25%' - }, html); + html = "
main | sauce | time
support throd | github | uso | donate

"; + dialog = $.el('div', { + id: 'options', + innerHTML: html + }); main = $('#main', dialog); _ref = config.main; for (key in _ref) { @@ -2681,6 +2681,21 @@ \ #options {\ position: fixed;\ + top: 0;\ + right: 0;\ + bottom: 0;\ + left: 0;\ + display: -webkit-box;\ + display: -moz-box;\ + display: box;\ + -webkit-box-align: center;\ + -moz-box-align: center;\ + box-align: center;\ + -webkit-box-pack: center;\ + -moz-box-pack: center;\ + box-pack: center;\ + }\ + #options > div {\ padding: 5px;\ min-width: 500px;\ }\ diff --git a/script.coffee b/script.coffee index d557618d6..1c680f6a3 100644 --- a/script.coffee +++ b/script.coffee @@ -725,43 +725,45 @@ options = hiddenThreads = $.getValue "hiddenThreads/#{g.BOARD}/", {} hiddenNum = Object.keys(g.hiddenReplies).length + Object.keys(hiddenThreads).length html = " -
- main | sauce | time -
-
- support throd | - github | - uso | - donate -
-
-
-
- -