Skip to content

Commit

Permalink
queryads.js: fix off by one in the viewport check.
Browse files Browse the repository at this point in the history
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
  • Loading branch information
XhmikosR committed May 30, 2020
1 parent 4f86c05 commit 1db8d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pi-hole/js/queryads.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ $("#btnSearchExact").on("click", function () {

// Wrap form-group's buttons to next line when viewed on a small screen
$(window).on("resize", function () {
if ($(window).width() < 991) {
if ($(window).width() < 992) {
$(".form-group.input-group").removeClass("input-group").addClass("input-group-block");
$(".form-group.input-group-block > input").css("margin-bottom", "5px");
$(".form-group.input-group-block > .input-group-btn")
Expand Down

0 comments on commit 1db8d81

Please sign in to comment.