Changeset 19229 for trunk/MobileIndico


Ignore:
Timestamp:
09/14/18 15:41:26 (6 years ago)
Author:
tbretz
Message:
Fixed a but when there is no material
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MobileIndico/indico.js

    r18676 r19229  
    116116                list +=    "<span class='material'>";
    117117                var m = e.material;
    118                 for (var j=0; j<m.length; j++)
     118                for (var j=0; j<m?m.length:0; j++)
    119119                {
    120120                    list += "<span class='title'>"+m[j].title+": </span>";
Note: See TracChangeset for help on using the changeset viewer.