vmailadmin/resources/views/vendor/laravelusers/scripts/toggleText.blade.php
2020-05-23 15:20:01 +02:00

8 lines
170 B
PHP

<script type="text/javascript">
$.fn.extend({
toggleText: function(a, b){
return this.text(this.text() == b ? a : b);
}
});
</script>