Created
June 2, 2014 18:34
-
-
Save kweigand/5be39e3c0db0b0061710 to your computer and use it in GitHub Desktop.
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
(function ($) { | |
Drupal.behaviors.appointment = { | |
attach: function(context, settings) { | |
//Begin my code | |
$(document).ready(function() { | |
$('p .help-block').hide(); | |
$('p .help-block').append('<a id="descriptionhelp"><i class="fa fa-question-circle"></i></a>').click(function() { | |
$('p.help-block').toggle() | |
}); | |
// End my code | |
} | |
}; | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment