user edit form
This commit is contained in:
Vendored
+14
-6
@@ -1,19 +1,28 @@
|
||||
|
||||
/**
|
||||
* First we will load all of this project's JavaScript dependencies which
|
||||
* includes Vue and other libraries. It is a great starting point when
|
||||
* building robust, powerful web applications using Vue and Laravel.
|
||||
*/
|
||||
|
||||
require('./bootstrap');
|
||||
require('./bootstrap')
|
||||
let url_slug = require('./url-slug')
|
||||
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip({
|
||||
container: 'body'
|
||||
})
|
||||
$('[data-toggle="tooltip"]').tooltip({
|
||||
container: 'body'
|
||||
})
|
||||
|
||||
// auto hide flash alerts
|
||||
let $notifs = $('div.alert').not('.alert-important').addClass('fadeout')
|
||||
setTimeout(() => {
|
||||
$notifs.addClass('fade')
|
||||
setTimeout(() => {
|
||||
$notifs.addClass('hidden')
|
||||
}, 500)
|
||||
}, 2500)
|
||||
})
|
||||
|
||||
// auto-alias
|
||||
$(document).on('input keypress paste keyup', 'input[data-autoalias]', function () {
|
||||
const $this = $(this)
|
||||
const target_name = $this.data('autoalias')
|
||||
@@ -31,7 +40,6 @@ $(document).on('input keypress paste keyup', 'input[data-autoalias]', function (
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
//
|
||||
// window.Vue = require('vue');
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user