vmailadmin/resources/views/vendor/laravelusers/scripts/toggleText.blade.php

8 lines
170 B
PHP
Raw Permalink Normal View History

2020-05-23 15:20:01 +02:00
<script type="text/javascript">
$.fn.extend({
toggleText: function(a, b){
return this.text(this.text() == b ? a : b);
}
});
</script>