doc/panel/index.html in adwords4r-19.0.0 vs doc/panel/index.html in adwords4r-19.1.0

- old
+ new

@@ -32,10 +32,10 @@ $(function() { placeholder(); var panel = new Searchdoc.Panel($('#panel'), search_data, tree, top.frames[1]); $('#search').focus(); - var s = window.parent.location.search.match(/\?q=(.*)$/); + var s = window.parent.location.search.match(/\?q=([^&]+)/); if (s) { s = decodeURIComponent(s[1]).replace(/\+/g, ' '); if (s.length > 0) { $('#search').val(s);