Added bootstrap tabs JS and tabbified content on settings page using JS

Signed-off-by: Nathan Booth <nath.booth@gmail.com>
This commit is contained in:
Nathan Booth
2011-12-20 11:23:24 +00:00
parent 11fc706ee1
commit 3481e1c7d6
4 changed files with 132 additions and 42 deletions

View File

@@ -8,6 +8,16 @@ var sb = {
init: function() {
$('.alert-data').alert();
$('.tabs').tabs()
$("a[rel=popover]")
.popover({
offset: 10
})
.click(function(e) {
e.preventDefault()
})
})
},
usercp: {
@@ -37,15 +47,3 @@ var sb = {
}
};
$('document').ready(sb.init);
$(function () {
$("a[rel=popover]")
.popover({
offset: 10
})
.click(function(e) {
e.preventDefault()
})
})