User:Bobblewik/monobook.js/unitformatter.js: Difference between revisions

Content deleted Content added
Bobblewik (talk | contribs)
mNo edit summary
Bobblewik (talk | contribs)
mNo edit summary
Line 86:
 
// kilowatt
txt.value = txt.value.replace(/(\d)\s?kW(\W)/ggi, '$1 kW$2');
txt.value = txt.value.replace(/(\d)\-kW(\W)/ggi, '$1 kW$2');
 
// Hertz