diff --git a/better-better-booru.user.js b/better-better-booru.user.js index d74c55b..91a2518 100644 --- a/better-better-booru.user.js +++ b/better-better-booru.user.js @@ -3,7 +3,7 @@ // @namespace https://greasyfork.org/scripts/3575-better-better-booru // @author otani, modified by Jawertae, A Pseudonymous Coder & Moebius Strip. // @description Several changes to make Danbooru much better. Including the viewing of hidden/censored images on non-upgraded accounts and more. -// @version 6.5.1 +// @version 6.5.2 // @updateURL https://greasyfork.org/scripts/3575-better-better-booru/code/better_better_booru.meta.js // @downloadURL https://greasyfork.org/scripts/3575-better-better-booru/code/better_better_booru.user.js // @match http://*.donmai.us/* @@ -63,7 +63,7 @@ function bbbScript() { // This is needed to make this script work in Chrome. translationMode: false }, options: { // Setting options and data. - bbb_version: "6.5.1", + bbb_version: "6.5.2", alternate_image_swap: new Option("checkbox", false, "Alternate Image Swap", "Switch between the sample and original image by clicking the image. Notes can be toggled by using the link in the sidebar options section."), arrow_nav: new Option("checkbox", false, "Arrow Navigation", "Allow the use of the left and right arrow keys to navigate pages. Has no effect on individual posts."), autohide_sidebar: new Option("dropdown", "none", "Auto-hide Sidebar", "Hide the sidebar for individual posts, favorites listings, and/or searches until the mouse comes close to the left side of the window or the sidebar gains focus.

Tips
By using Danbooru's keyboard shortcut for the letter \"Q\" to place focus on the search box, you can unhide the sidebar.

Use the thumbnail count option to get the most out of this feature on search listings.", {txtOptions:["Disabled:none", "Favorites:favorites", "Posts:post", "Searches:search", "Favorites & Posts:favorites post", "Favorites & Searches:favorites search", "Posts & Searches:post search", "All:favorites post search"]}), @@ -2497,6 +2497,7 @@ function bbbScript() { // This is needed to make this script work in Chrome. case "6.3.2": case "6.4": case "6.5": + case "6.5.1": break; } @@ -4742,7 +4743,7 @@ function bbbScript() { // This is needed to make this script work in Chrome. // Override Danbooru's image click handler for toggling notes with a custom one that swaps the image. if (post.has_large) { document.addEventListener("click", function(event) { - if (event.target.id === "image" && event.button === 0 && !bbb.post.translation_mode) { + if (event.target.id === "image" && event.button === 0 && !bbb.post.translationMode) { if (!bbb.dragscroll.moved) swapImage(); diff --git a/changelog.md b/changelog.md index 97f3cef..c49a3f6 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ Changelog ---------- +* Version 6.5.2: + * Fixed a conflict between the "alternate image swap" option and translation mode. * Version 6.5.1: * Fixed the "alternate image swap" option. * Version 6.5: