update notification

This commit is contained in:
Aung Myo
2017-10-26 14:06:42 +06:30
parent 15604fea2c
commit 6b88403186
7 changed files with 19 additions and 12 deletions

View File

@@ -57,6 +57,7 @@ $(document).on('turbolinks:load', function() {
var animateExit = $("#notify_message").attr('data-animate-exit');
var colorName = $("#notify_message").attr('data-color-name');
var text = $("#notify_message").attr('data-message');
console.log(text);
if (text != null || colorName != null){
showNotification(colorName, text, placementFrom, placementAlign, animateEnter, animateExit);
}