This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch | grep -v "develop" | xargs git branch -D |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
display: -webkit-box; | |
display: -moz-box; | |
display: -webkit-flex; | |
display: flex; | |
-webkit-flex-direction: row; | |
flex-direction: row; | |
-webkit-flex-wrap: wrap; | |
flex-wrap: wrap; | |
-webkit-box-pack: center; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-webkit-touch-callout: none; | |
-webkit-user-select: none; | |
-khtml-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".diet_counter p").on("click", function() { | |
var $button = $(this); | |
var $input = $(".diet_counter input"); | |
var oldValue = $(".diet_counter input").val(); | |
if ($button.text() == "+") { | |
var newVal = parseFloat(oldValue) + 1; | |
} | |
else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ### Draggable - vertical animation | |
$('.ciupek').on('mousedown', function(e){ | |
var ciup = $(this); | |
var limit = $('#diet_picker').width()/5; | |
var tolerance = $('#relative_separator').offset(); | |
if (tolerance < 0) {tolerance = 0}; | |
ciup.removeClass('transition'); | |
$('#diet_picker div').removeClass('scoped'); | |
var position = ciup.offset(); | |
var initialized = { |