mirror of https://github.com/Hutchy68/pivot.git
20 lines
788 B
JavaScript
20 lines
788 B
JavaScript
|
|
jQuery(document).ready(function() {
|
|
jQuery(document).foundation(function (response) {
|
|
if (window.console) console.log(response.errors);
|
|
});
|
|
|
|
// The Echo extension puts an item in personal tools that Foreground really should have in the top menu
|
|
// to make this easier, we move it here and loaded earlier to speed up transform
|
|
jQuery("#pt-notifications").prependTo("#echo-notifications-alerts");
|
|
jQuery("#pt-notifications-message").prependTo("#echo-notifications-messages");
|
|
jQuery("#pt-notifications-alert").prependTo("#echo-notifications-alerts");
|
|
jQuery("#pt-notifications-notice").prependTo("#echo-notifications-notice");
|
|
|
|
|
|
});
|
|
|
|
jQuery('.portal > li label').click(function() {
|
|
$(this).parent().find('ul').toggle();
|
|
$( this ).toggleClass( "active" );
|
|
}); |