Sha256: fe7c0a230ec8afbd1a38ec4acd751c179cb5502cc5088995ff2d2a284cb43484

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 Bytes

Contents

setTimeout(function () {
  var hint = document.getElementById('hint');
  var hint_icon = document.getElementById('hint_icon');
  hint_icon.onclick = function () {
    if(hint.className.indexOf('show') < 0) {
      hint.className = hint.className + " show";
    }
    else {
      hint.className = hint.className.replace(/\sshow/, '');
    }
  }
}, 50);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lockup-1.2.0 app/views/layouts/lockup/_inline_js.html.erb
lockup-1.1.0 app/views/layouts/lockup/_inline_js.html.erb
lockup-1.0.0 app/views/layouts/lockup/_inline_js.html.erb