Update BetterSearchPage.plugin.js
This commit is contained in:
parent
5d6c39e748
commit
725bf0670a
|
@ -3,7 +3,7 @@
|
|||
class BetterSearchPage {
|
||||
getName () {return "BetterSearchPage";}
|
||||
|
||||
getVersion () {return "1.0.9";}
|
||||
getVersion () {return "1.1.0";}
|
||||
|
||||
getAuthor () {return "DevilBro";}
|
||||
|
||||
|
@ -11,6 +11,7 @@ class BetterSearchPage {
|
|||
|
||||
constructor () {
|
||||
this.changelog = {
|
||||
"fixed":[["Jump to","Pressing the Jump to button now properly works again"]],
|
||||
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
|
||||
};
|
||||
|
||||
|
@ -193,7 +194,7 @@ class BetterSearchPage {
|
|||
className: "BSP-pagination-button BSP-pagination-jump",
|
||||
text: BDFDB.LanguageUtils.LanguageStrings.JUMP,
|
||||
"aria-label": BDFDB.LanguageUtils.LanguageStrings.JUMP,
|
||||
onClick: buttoninstance => {
|
||||
onClick: (e, buttoninstance) => {
|
||||
let jumpinput = BDFDB.ReactUtils.findOwner(buttoninstance._reactInternalFiber.return, {props:[["id","BSP-pagination-jumpinput"]]});
|
||||
if (jumpinput) doJump(jumpinput.props.value);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue