Bug 747800 - Fix code causing |Warning: function xyz does not always return a value|; r=standard8
authorJim Porter <squibblyflabbetydoo@gmail.com>
Wed, 09 May 2012 16:13:04 +0200
changeset 22258 bd166fe26b1108534c501475b4ad9b6425743f49
parent 22257 54ddc922321bae4d98c821375cba5d95095e4426
child 22259 be48f94b7b41443373cfcbe385d767ee25a796b6
push id1225
push userflorian@queze.net
push dateSat, 11 Jan 2014 23:24:55 +0000
treeherdertry-comm-central@1d7aa08cb2d7 [default view] [failures only]
reviewersstandard8
bugs747800
Bug 747800 - Fix code causing |Warning: function xyz does not always return a value|; r=standard8
chat/content/convbrowser.xml
--- a/chat/content/convbrowser.xml
+++ b/chat/content/convbrowser.xml
@@ -75,17 +75,17 @@
           ]]>
         </getter>
       </property>
 
       <field name="_theme">null</field>
 
       <property name="theme"
                 readonly="true"
-                onget="return this._theme || (this._theme = getCurrentTheme());;"/>
+                onget="return this._theme || (this._theme = getCurrentTheme());"/>
 
       <field name="_conv">null</field>
 
       <field name="_loadState">0</field>
 
       <method name="init">
         <parameter name="aConversation"/>
         <body>