Set parent window for about/new version, escape to close (#1795)
* Set parent window for about/new version, escape to close * Exclude jquery from jshint run
This commit is contained in:
10
about.html
10
about.html
@@ -34,6 +34,16 @@ a {
|
||||
<a href="https://signal.org">signal.org</a>
|
||||
</div>
|
||||
|
||||
<script type='text/javascript' src='js/jquery.js'></script>
|
||||
<script>
|
||||
$(document).on('keyup', function(e) {
|
||||
if (e.keyCode === 27) {
|
||||
window.closeAbout();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user