[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r12578: Mark user agent switch issue spotted by phobos. (torbutton/trunk/src/chrome/content)



Author: mikeperry
Date: 2007-11-26 23:42:59 -0500 (Mon, 26 Nov 2007)
New Revision: 12578

Modified:
   torbutton/trunk/src/chrome/content/torbutton.js
Log:

Mark user agent switch issue spotted by phobos.



Modified: torbutton/trunk/src/chrome/content/torbutton.js
===================================================================
--- torbutton/trunk/src/chrome/content/torbutton.js	2007-11-27 04:25:37 UTC (rev 12577)
+++ torbutton/trunk/src/chrome/content/torbutton.js	2007-11-27 04:42:59 UTC (rev 12578)
@@ -489,6 +489,7 @@
     if(!changed && !force_update) return;
 
     torbutton_log(2, 'Setting user agent');
+    // XXX: this needs an else block...
     if(torprefs.getBoolPref("set_uagent")) {
         if(mode) {
             try {