commit 5ef93402b2195339904517fbd331ff57df08dd1b Author: Sathyanarayanan Gunasekaran gsathya.ceg@gmail.com Date: Sun Sep 16 10:50:17 2012 +0530
Initialise tooltips --- static/js/custom.js | 1 + templates/index.html | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/static/js/custom.js b/static/js/custom.js index d56f90c..290c1e0 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -27,6 +27,7 @@ function doAjax(){ $('html, body').animate({ scrollTop: $('#result').offset().top }, 1000); + $('span[rel=tooltip]').tooltip(); }); } } diff --git a/templates/index.html b/templates/index.html index f0ab694..4535a68 100644 --- a/templates/index.html +++ b/templates/index.html @@ -164,6 +164,7 @@ --> <script src="{{ url_for('static', filename='js/jquery-1.8.0.min.js') }}"></script> <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script> + <script src="{{ url_for('static', filename='js/bootstrap-tooltip.js') }}"></script> <script src="{{ url_for('static', filename='js/custom.js') }}"></script> <script> doAjax();
tor-commits@lists.torproject.org