forked from shv02001/ButtonPhoneApp
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
ish works
- Loading branch information
Shobha Venkatraman
authored and
Shobha Venkatraman
committed
Mar 26, 2016
1 parent
3a7b9fd
commit c82161b
Showing
3 changed files
with
73 additions
and
77 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
$(document).ready(function() { | ||
$(".fillthevoid").click(function() { | ||
$(this).toggleClass("voidfilled"); | ||
}); | ||
}); | ||
|
||
$(".fillthevoid").on("click", function() { | ||
var el = $(this); | ||
el.text() == el.data("text-swap") ? | ||
el.text(el.data("text-original")) : | ||
el.text(el.data("text-swap")); | ||
}); |