Commit 8a698034 by Clinton Blackburn

Merge pull request #18 from edx/clintonb/admin-preview-fix

Fixed bug related to whitespace stripping
parents aeb4265f cf425d17
......@@ -39,9 +39,6 @@ $(function () {
e.preventDefault();
if (query) {
// Remove all whitespace
query = query.replace(/\s/g, "");
// URL encode
query = encodeURIComponent(query);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment