/**
 * Part of Showkase web site management package
 *
 * @package Showkase
 * @author Jack Hardie {@link http://www.jhardie.com}
 * @copyright Copyright (c) 2012, SimpleViewer Inc.
 */
 
/**
 * Publish button color change
 */
 
$(function () {
    $("li.republish").click(function() {
        $(this).removeClass("unpublished").addClass("published");
    });
});
/**
 * Set-up Bootstrap tooltips
 */
$(function () {
    $(".tipper")
    .tooltip({
        placement: 'top'}
    )
    .click(function(e) {
        e.preventDefault();
    });
});
$(function () {
    $(".linktipper")
    .tooltip({
        placement: 'top'}
    )
});
/**
 * Set-up Bootstrap popovers
 */
$(function () {
    $(".popper")
    .popover({
        offset: 10,
        trigger: 'hover'
    })
    .click(function(e) {
        e.preventDefault();
    });
});