Reflect post title in singular setting
This commit is contained in:
@@ -24,9 +24,11 @@ jQuery(document).ready(function($){
|
|||||||
|
|
||||||
// Auto key placeholder
|
// Auto key placeholder
|
||||||
$("#poststuff #title").on("keyup", function() {
|
$("#poststuff #title").on("keyup", function() {
|
||||||
val = $(this).val().replace(/[^a-z]/gi,"").toLowerCase();
|
val = $(this).val()
|
||||||
$("#sp_key").attr("placeholder", val);
|
lc = val.replace(/[^a-z]/gi,"").toLowerCase();
|
||||||
$("#sp_default_key").val(val);
|
$("#sp_key").attr("placeholder", lc);
|
||||||
|
$("#sp_default_key").val(lc);
|
||||||
|
$("#sp_singular").attr("placeholder", val);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Activate auto key placeholder
|
// Activate auto key placeholder
|
||||||
|
|||||||
Reference in New Issue
Block a user