Fixed JS error

Signed-off-by: Nathan Booth <nath.booth@gmail.com>
This commit is contained in:
Nathan Booth
2011-12-20 12:14:38 +00:00
parent 3481e1c7d6
commit 18dd7e2773

View File

@@ -4,20 +4,12 @@
*
*/
var sb = {
init: function() {
$('.alert-data').alert();
$('.tabs').tabs()
$("a[rel=popover]")
.popover({
offset: 10
})
.click(function(e) {
e.preventDefault()
})
})
$('.tabs').tabs();
},
usercp: {
@@ -47,3 +39,15 @@ var sb = {
}
};
$('document').ready(sb.init);
$(function () {
$("a[rel=popover]")
.popover({
offset: 10
})
.click(function(e) {
e.preventDefault()
})
})