diff --git a/public/viewjs/locationcontentsheet.js b/public/viewjs/locationcontentsheet.js index 6f03c723..2d823d60 100644 --- a/public/viewjs/locationcontentsheet.js +++ b/public/viewjs/locationcontentsheet.js @@ -27,3 +27,7 @@ $("#include-out-of-stock").change(function() window.location.reload(); }); +if (GetUriParam("include_out_of_stock")) +{ + $("#include-out-of-stock").prop("checked", false); +}