Hide Dashboard Refresh Time

Answered

Comments

4 comments

  • Avatar
    Oxana Noa Umansky

    Hi Brian,

    The code below will hide the 'build date and time' element
     
    dashboard.on("stylechanged", function(d, args) {
    $(".toolbar-dashboard-datasource__date").hide();
    }
     
    Depending on many factors, the element may or may not appear for a fraction of a second.
     
    Please let us know if that worked.  
  • Avatar
    Brian Bontrager

    Thank you!  That worked, with the addition of the missing ); at the end.

  • Avatar
    Oxana Noa Umansky

    Glad it worked Brian! :) 

    And thanks for letting me know that ); was missing!

  • Avatar
    Brian Bontrager (Edited )

    For benefit of others who find this post,

    The above works in version 7

    In version 6.7 use

    dashboard.on("stylechanged", function(d, args) {
    $(".ds-lbt").hide();
    });

Please sign in to leave a comment.