Files
old-saburly-confighub/web/app/assets/javascripts/application.js
2016-02-21 20:53:35 +01:00

37 lines
1.2 KiB
JavaScript

// 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 any plugin's vendor/assets/javascripts directory 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/rails/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//= require tether
//= require turbolinks
//= require active_scaffold
//= require bootstrap-sprockets
//= require ace-rails-ap
//= require ace/mode-apache_conf
//= require ace/mode-ini
//= require ace/mode-dockerfile
// $(".click-to-select-all").click(function() {
// var $this = $(this);
// $this.select();
//
// // Work around Chrome's little problem
// $this.mouseup(function() {
// // Prevent further mouseup intervention
// $this.unbind("mouseup");
// return false;
// });
// });
$(".click-to-select-all").click(function() { $(this).select(); });