The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Revised by Bytes Unlimited : June 14th 2017
### Keybase proof | |
I hereby claim: | |
* I am bryanjamesmiller on github. | |
* I am bryanmiller (https://keybase.io/bryanmiller) on keybase. | |
* I have a public key ASD6hThLF5y0us0nFBCQMrTRdp-3vU8PAKgPBWZkpsA7dQo | |
To claim this, I am signing this object: |
As pointed out by @johntyree in the comments, using git reflog is easier and more reliable. Thanks for the suggestion!
$ git reflog
1ed7510 HEAD@{1}: checkout: moving from develop to 1ed7510
3970d09 HEAD@{2}: checkout: moving from b-fix-build to develop
1ed7510 HEAD@{3}: commit: got everything working the way I want
70b3696 HEAD@{4}: commit: upgrade rails, do some refactoring
$(document).ready(function(){ | |
$('button').click(function() { | |
var $button = $(this), | |
test = $button.text() === 'Expand', | |
test2 = $button.text() === 'Collapse'; | |
if(test) | |
{ | |
$button.text('Collapse'); | |
} |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<!-- Bootstrap content start --> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- Latest compiled and minified JQuery --> |