view/js/utility.js
// outdated, must replace with Location.search and use URLsearchparams      
outdated, must replace with Location.search and use URLsearchparams
outdated must replace with Location . search and use URLsearchparams
function findGetParameter(parameterName) {
            var result = null,
                tmp = [];
            location.search
                .substr(1)
                .split("&")
                .forEach(function (item) {
                  tmp = item.split("=");
                  if (tmp[0] === parameterName) result = decodeURIComponent(tmp[1]);
                });
            return result;
        }
function findGetParameter ( parameterName ) { var result = null , tmp = [ ] ; location . search . substr ( 1 ) . split ( "&" ) . forEach ( function ( item ) { tmp = item . split ( "=" ) ; if ( tmp [ 0 ] === parameterName ) result = decodeURIComponent ( tmp [ 1 ] ) ; } ) ; return result ; }
outdated, must replace with Location.search and use URLsearchparams
outdated must replace with Location . search and use URLsearchparams