@cryptotaxi247 / netdata-1 / commits / 6074bd104

registry modals should prevent scrolling the screen

Costa Tsaousis (ktsaou) committed May 14, 2016 at 05:19 UTC 6074bd104e3e2bed3e2b99d38c15ac63d65d76ce
1 file changed +2 -2
web/index.html
+2 -2
@@ -908,7 +908,7 @@
908 </div>
909 <div class="modal-footer">
910 <button type="button" class="btn btn-success" data-dismiss="modal">keep it</button>
911 - <a href="#" onclick="notifyForDeleteRegistry(true);" type="button" class="btn btn-danger">delete it</a>
911 + <a href="#" onclick="notifyForDeleteRegistry(true); return false;" type="button" class="btn btn-danger">delete it</a>
912 </div>
913 </div>
914 </div>
@@ -944,7 +944,7 @@
944 </div>
945 <div class="modal-footer">
946 <button type="button" class="btn btn-success" data-dismiss="modal">cancel</button>
947 - <a href="#" onclick="notifyForSwitchRegistry(true);" type="button" class="btn btn-danger">impersonate</a>
947 + <a href="#" onclick="notifyForSwitchRegistry(true); return false;" type="button" class="btn btn-danger">impersonate</a>
948 </div>
949 </div>
950 </div>