diff --git a/css/zoostyle.css b/css/zoostyle.css index 80b01858..3ac6db17 100644 --- a/css/zoostyle.css +++ b/css/zoostyle.css @@ -784,6 +784,11 @@ th.sec { font-weight: bold; color: #cc0000; } +.quiet-notice { + font-size: 20px; + color: #ccc; +} + .input { } .sel:link { color: #ff0000; } .sel:visited { color: #ff0000; } diff --git a/js/trending.js b/js/trending.js index a7f21fe1..dc3edf1c 100644 --- a/js/trending.js +++ b/js/trending.js @@ -56,6 +56,13 @@ function loadCloud() { } $().ready(function() { + if(!$.fn.jQCloud) { + $("#cloud").append($("
", { + class: 'quiet-notice' + }).html('The trending cloud is unavailable.')); + return; + } + $.ajax({ dataType: 'json', type: 'GET',