User:Utar/vector.js

From translatewiki.net
Jump to: navigation, search
$(document).ready(function() {
  $('#wpSave').click(function() {
    var summary = $('#wpSummary');
    if (!summary.val()) summary.val($('#wpTextbox1').val().substr(0, 250));
  });
});