IppSec / ippsec.github.io

Creative Commons Zero v1.0 Universal
136 stars 29 forks source link

Glitches in the Search algorithm #16

Closed blinils closed 4 years ago

blinils commented 4 years ago

Hello, please find below two little glitches in the search algorithm I recently found.

function doSearch(event) {
        -------------------------------------------cut----
       if (val != '') {
        -------------------------------------------cut----
        } else {
            controls.hideResults();
            window.controls.setColor(colorUpdate, 'no-search');
            noResults.style.display = 'none';
            currentSet = window.dataset;
        }
        -------------------------------------------cut----
    }
function doSearch(event) {
    -------------------------------------------cut----
    if (val != '') {
        controls.displayResults();
        currentSet = window.dataset;
        oldSearchValue = val;

        ---------------------------------------cut----
    } else {
        ---------------------------------------cut----
    }
ippsec-htb commented 4 years ago

Thanks for the report. Should be fixed, let me know if it isn't.