no edit summary
Line 7: Line 7:  
{
 
{
 
  var editbox = document.getElementById('wpUploadDescription');
 
  var editbox = document.getElementById('wpUploadDescription');
if (location.href == http://wikivet.net/index.php?title=Special:Upload&uselang=ownwork)
+
if (window.location.href == http://wikivet.net/index.php?title=Special:Upload&uselang=ownwork)
 
   {  
 
   {  
 
editbox.value = "{"+"{Information\n"
 
editbox.value = "{"+"{Information\n"