Building new test form
Added CRUD for tests
This commit is contained in:
		@@ -0,0 +1,13 @@
 | 
			
		||||
$(document).ready(function() {
 | 
			
		||||
    $("#od-font-test").click(function(){
 | 
			
		||||
        $("body").css("font-family", "opendyslexic3regular")
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    $('.auth-code-input').keyup(function() {
 | 
			
		||||
        var input = $(this).val().split("-").join("").split("—").join(""); // remove hyphens and mdashes
 | 
			
		||||
        if (input.length > 0) {
 | 
			
		||||
          input = input.match(new RegExp('.{1,4}', 'g')).join("—");
 | 
			
		||||
        }
 | 
			
		||||
        $(this).val(input);
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
		Reference in New Issue
	
	Block a user