Difference between revisions of "Widget:Ctarailtimes"
m |
m |
||
Line 91: | Line 91: | ||
$("#output<!--{$stopid}-->").append(alltimes); | $("#output<!--{$stopid}-->").append(alltimes); | ||
− | if ( | + | if (Object.is(data3, null)) { |
$("#output<!--{$stopid}-->").append("<p>No predictions available.</p>"); | $("#output<!--{$stopid}-->").append("<p>No predictions available.</p>"); | ||
} | } |