More specific key labelling

This commit is contained in:
Brian Miyaji
2014-04-25 13:55:41 +10:00
parent 727d7d3fe6
commit a64b2c3923
16 changed files with 37 additions and 37 deletions

View File

@@ -27,8 +27,8 @@ jQuery(document).ready(function($){
// Auto key placeholder
$("#poststuff #title").on("keyup", function() {
val = $(this).val().replace(/[^a-z]/gi,"").toLowerCase();
$("#sp_variable").attr("placeholder", val);
$("#sp_default_variable").val(val);
$("#sp_key").attr("placeholder", val);
$("#sp_default_key").val(val);
});
// Activate auto key placeholder