Skip to content

Commit

Permalink
url fixed at cotemplate.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatov committed Aug 15, 2011
1 parent e7caf2c commit 75a72d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/scripts/cotemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
$(document).ready(function() {
reinit('body');

var url= $(location).attr("href");
var url = location.href;
var urlpart=url.split("q=");
var src=(parent.location.href + '#q='+ urlpart[1]).replace(" ","+");

if ((urlpart[1] !="") && (typeof(urlpart[1]) !="undefined")) {localSearchHighlight(urlpart[1]); copy(src);}

shortcut_enable();
})
});

function shortcut_enable(){
var isCtrl=false;
Expand Down

0 comments on commit 75a72d0

Please sign in to comment.