Sha256: 15bb285eff9227480a23d97caf398c04ab846eb7393a93eb1e9bf34338bdfcb7
Contents?: true
Size: 954 Bytes
Versions: 13
Compression:
Stored size: 954 Bytes
Contents
function historicalDataDisplay() { if (document.getElementById('historical-data').checked) { $('#myModal').modal('show'); document.getElementById('historical-data-display-checked').style.display = 'block'; document.getElementById('historical-data-display-unchecked').style.display = 'none'; } else { document.getElementById('historical-data-display-unchecked').style.display = 'block'; document.getElementById('historical-data-display-checked').style.display = 'none'; } } var checkHistorical function closeModal(sender) { checkHistorical = sender.id == 'confirm' $('#myModal').modal('hide'); } $(document).ready(function(){ $("#myModal").on('hidden.bs.modal', function (e) { if (!checkHistorical) { document.getElementById('historical-data').checked = false historicalDataDisplay() } checkHistorical = false }); }); $(function () { $('[data-toggle="tooltip"]').tooltip() })
Version data entries
13 entries across 13 versions & 1 rubygems