}
}
-var DEFAULT_PERSPECTIVE = "#SummaryPerspective";
+var DEFAULT_PERSPECTIVE = "#VisualPerspective";
$(function()
{
* TABS
*/
$('.tabs li').live('click', function(event, callback) {
+ event.preventDefault();
$.wiki.switchToTab(this);
});
/* every 5 minutes check for a newer version */
var revTimer = setInterval(function() {
- CurrentDocument.checkRevision({error: function(){
+ CurrentDocument.checkRevision({outdated: function(){
$('#header').addClass('out-of-date');
clearInterval(revTimer);
}});