Skip to content

Commit

Permalink
update aria-hidden in hideWarning and showWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
coilysiren committed Nov 2, 2016
1 parent 04ccabc commit fdd291e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions session_security/static/session_security/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,14 @@ yourlabs.SessionSecurity.prototype = {
// seconds.
showWarning: function() {
this.$warning.fadeIn('slow');
this.$warning.attr('aria-hidden', 'false');
},

// Called to hide the warning, for example if there has been activity on
// the server side - in another browser tab.
hideWarning: function() {
this.$warning.hide();
this.$warning.attr('aria-hidden', 'true');
},

// Called by click, scroll, mousemove, keyup.
Expand Down

0 comments on commit fdd291e

Please sign in to comment.