github-wiki-search
github-wiki-search copied to clipboard
when editing, preview is broken and WYSIWYG toolbar is hidden
here are the errors i see in the JS console when i click on preview:
TypeError: $.GollumEditor is not a function
wiki-e0b...js:2:9139
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
frameworks-d22...js:34:1559
TypeError: $(...).onFocusedInput is not a function
github-f48...js:1:11880
TypeError: $(...).fire is not a function
frameworks-d22...js:176:7314
Use of getPreventDefault() is deprecated. Use defaultPrevented instead.
129930.user.js:35:0
TypeError: $(...).fire is not a function
frameworks-d22..js:176:7517
and here's the CSS rule that's hiding the toolbar, from github2-817...css:
#gollum-editor-function-bar #gollum-editor-function-buttons {
display: none;
float: left;
}
if i remove the display: none
, the toolbar shows up, but the question mark (help) button doesn't hide the expanded help section, which expands automatically with this userscript, and which is why i wanted to use the toolbar. :P
TypeError: $(...).fire is not a function
frameworks-d22...js:176:7314
TypeError: $.hidden is undefined
wiki-e0b...js:1:6800
i should have said at the beginning: thank you so much for writing this userscript! it's great!
also, i'm on firefox 36.0.1 on mac os x, using the userscript in greasemonkey.