Fixed product picker workflows

This commit is contained in:
Bernd Bestel
2020-11-14 11:05:36 +01:00
parent 71f6b38cb2
commit b267295e86
9 changed files with 90 additions and 84 deletions

View File

@@ -44,6 +44,13 @@ UpdateUriParam = function(key, value)
window.history.replaceState({}, "", decodeURIComponent(`${location.pathname}?${queryParameters}`));
};
RemoveUriParam = function(key)
{
var queryParameters = new URLSearchParams(location.search);
queryParameters.delete(key);
window.history.replaceState({}, "", decodeURIComponent(`${location.pathname}?${queryParameters}`));
};
IsTouchInputDevice = function()
{
if (("ontouchstart" in window) || window.DocumentTouch && document instanceof DocumentTouch)