only clear input on ?
This commit is contained in:
+1
-1
@@ -129,6 +129,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
Commander.searchHelp.innerHTML = helpMessage;
|
Commander.searchHelp.innerHTML = helpMessage;
|
||||||
|
Commander.searchText.value = '';
|
||||||
} else {
|
} else {
|
||||||
Commander.location = 'https://www.google.com/search?q=' + q;
|
Commander.location = 'https://www.google.com/search?q=' + q;
|
||||||
|
|
||||||
@@ -139,7 +140,6 @@
|
|||||||
window.location.href = Commander.location;
|
window.location.href = Commander.location;
|
||||||
}
|
}
|
||||||
|
|
||||||
Commander.searchText.value = '';
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user