Changes

Jump to navigation Jump to search
no edit summary
Line 10: Line 10:  
if (location.href == "http://wikivet.net/index.php/Special:Upload"){
 
if (location.href == "http://wikivet.net/index.php/Special:Upload"){
   −
  editbox.default = "{"+"{Information\n"
+
  editbox.default.value = "{"+"{Information\n"
 
                 + "|Description=\n"
 
                 + "|Description=\n"
 
                 + "|Source=\n"
 
                 + "|Source=\n"
Line 22: Line 22:  
if (location.href == "http://wikivet.net/index.php?title=Special:Upload&uselang=own"){
 
if (location.href == "http://wikivet.net/index.php?title=Special:Upload&uselang=own"){
   −
editbox.default = "{"+"{Information\n"
+
editbox.default.value  = "{"+"{Information\n"
 
               + "|Description=\n"
 
               + "|Description=\n"
 
               + "|Source=Own Work\n"
 
               + "|Source=Own Work\n"
Line 33: Line 33:  
if (window.location.pathname == "/index.php"){
 
if (window.location.pathname == "/index.php"){
   −
editbox.default = "{"+"{Information\n"
+
editbox.default.value  = "{"+"{Information\n"
 
               + "|Description=\n"
 
               + "|Description=\n"
 
               + "|Source=\n"
 
               + "|Source=\n"

Navigation menu