Changeset 10866


Ignore:
Timestamp:
Jun 26, 2010, 4:47:15 PM (12 years ago)
Author:
charles
Message:

(trunk web) add an "undefined" test to common.setInnerHTML()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/common.js

    r10834 r10866  
    9898function setInnerHTML( e, html )
    9999{
     100        if( e == undefined )
     101                return;
     102
    100103        /* innerHTML is listed as a string, but the browser seems to change it.
    101104         * For example, "∞" gets changed to "∞" somewhere down the line.
Note: See TracChangeset for help on using the changeset viewer.