summaryrefslogtreecommitdiff
path: root/views/prediction.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2019-07-11 15:59:13 +0000
committergebele <gebele@in-silico.ch>2019-07-11 15:59:13 +0000
commit5490f6214f3a22216f7980c7d46f6d9fe10a4924 (patch)
tree7da1f991c1f31048b7b55a2dbc5729da7694860d /views/prediction.haml
parent5efd8128dc5bdb9ffc0aa4798f8aa303973794e6 (diff)
simplify js code;reorder js code;
Diffstat (limited to 'views/prediction.haml')
-rw-r--r--views/prediction.haml12
1 files changed, 0 insertions, 12 deletions
diff --git a/views/prediction.haml b/views/prediction.haml
index bde2397..fe1e487 100644
--- a/views/prediction.haml
+++ b/views/prediction.haml
@@ -1,15 +1,3 @@
-:javascript
- $(document).ready(function(){
- $('[data-toggle="popover"]').popover();
- $('.modal').on('hidden.bs.modal', function () {
- $(this).removeData('bs.modal');
- });
- $('.modal').on('show.bs.modal', function(e){
- var button = $(e.relatedTarget);
- var modal = $(this);
- modal.find('.modal-content').load(button.data("remote"));
- });
- });
%div.card
%a.btn.btn-outline-info{:href => to('/predict')}
%span.fa.fa-caret-left