Sha256: c2b6c472b19d8cfb150c7dc5d6ec5d249dcf777b0eb34e745c5cb730d6aaf9c8

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 KB

Contents

// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//= require turbolinks

function ready() {

  /* Form: Focus and Hint */

  $('input[type="text"], input[type="password"], textarea').focus(function() {
    $(this).parent().find('.hint').show();
    $(this).css("box-shadow", "#ccc 0 0 5px");
  });
  $('input[type="text"], input[type="password"], textarea').blur(function() {
    $(this).parent().find('.hint').hide();
    $(this).css("box-shadow", "none");
  });

}

$(document).ready(ready);
$(document).on('page:load', ready);

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pah-0.0.14 lib/pah/files/app/assets/javascripts/application.js
pah-0.0.13 lib/pah/files/app/assets/javascripts/application.js