moving onload functions from template to one onload in scripts.js
parent
193f61d755
commit
72dafad318
|
@ -19,12 +19,6 @@
|
||||||
<script type="text/javascript" src="static/plugin/jquery-1.7.1.min.js"></script>
|
<script type="text/javascript" src="static/plugin/jquery-1.7.1.min.js"></script>
|
||||||
<script type="text/javascript" src="static/plugin/twitter-bootstrap/js/bootstrap.min.js"></script>
|
<script type="text/javascript" src="static/plugin/twitter-bootstrap/js/bootstrap.min.js"></script>
|
||||||
<script type="text/javascript" src="static/js/scripts.js"></script>
|
<script type="text/javascript" src="static/js/scripts.js"></script>
|
||||||
<script type="text/javascript">
|
|
||||||
$(document).bind('ready', function(){
|
|
||||||
psm_flash_message();
|
|
||||||
psm_tooltips();
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
</head>
|
</head>
|
||||||
<body data-spy="scroll" data-target=".subnav" data-offset="50">
|
<body data-spy="scroll" data-target=".subnav" data-offset="50">
|
||||||
<!-- navbar -->
|
<!-- navbar -->
|
||||||
|
|
|
@ -28,6 +28,9 @@ $().ready(function() {
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
psm_flash_message();
|
||||||
|
psm_tooltips();
|
||||||
});
|
});
|
||||||
|
|
||||||
function psm_tooltips() {
|
function psm_tooltips() {
|
||||||
|
|
Loading…
Reference in New Issue