Set HTML title as well.
authorMike Taylor <mike@indexdata.com>
Wed, 28 May 2014 14:10:43 +0000 (15:10 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 28 May 2014 14:10:43 +0000 (15:10 +0100)
examples/htdocs/mkws-widget-credo.js

index 342a1e0..f00abf7 100644 (file)
@@ -82,6 +82,7 @@ mkws.registerWidgetType('Credo', function() {
     var query = that.config.query;
     that.log("got query '" + query + "' from team config");
     mkws.$('.x-mkws-title').html(query);
+    mkws.$('title').html("MKWS: " + query);
   });