Fix View | Translate, which I broke by not understanding prefs enough. Bug 82018. r=doron, sr=alecf.

This commit is contained in:
gerv%gerv.net 2001-05-22 22:31:55 +00:00
parent c5a84507d8
commit d9e67ab2aa

View File

@ -392,8 +392,8 @@ function Shutdown()
function Translate()
{
var service = pref.getLocalizedUnicharPref("browser.translation.service");
var serviceDomain = pref.getLocalizedUnicharPref("browser.translation.serviceDomain");
var service = pref.CopyCharPref("browser.translation.service");
var serviceDomain = pref.CopyCharPref("browser.translation.serviceDomain");
// XXX This somehow causes a big leak, back to the old way
// till we figure out why. See bug 61886.