Skip to content

Instantly share code, notes, and snippets.

View solutionizer's full-sized avatar

Solutionizer solutionizer

View GitHub Profile
@solutionizer
solutionizer / prevent_double_click.js
Created March 29, 2016 09:10 — forked from pangui/prevent_double_click.js
Prevent double click!
// jQuery plugin to prevent double click
jQuery.fn.preventDoubleClick = function() {
$(this).on('click', function(e){
var $el = $(this);
if($el.data('clicked')){
// Previously clicked, stop actions
e.preventDefault();
e.stopPropagation();
}else{
// Mark to ignore next click
@solutionizer
solutionizer / README.md
Created September 16, 2016 15:52 — forked from raysegantii/README.md
Use bootstrap-sass npm package with Phoenix's brunch
  1. install npm packages
  2. update brunch-config.js
  3. rename web/static/css/app.css to web/static/css/app.scss
  4. update web/static/css/app.scss