Skip to content

Commit

Permalink
Remove dir demo
Browse files Browse the repository at this point in the history
  • Loading branch information
likedo committed Apr 26, 2018
1 parent 85f45a7 commit be9901a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 18 deletions.
12 changes: 0 additions & 12 deletions demo/index.php

This file was deleted.

20 changes: 14 additions & 6 deletions src/Notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,21 @@ public function renderNotification($notification): string

$output = "
$(function () {
new Notifier({
title: '" .$title. "',
text: '" . $message . "',
type: '" . $type . "'
});
new Noty({
theme: 'metroui',
timeout: 2000,
type: 'info',
layout: 'topRight',
text: 'Azione effettuata'
}).show();
});";

/*
new Notifier({
title: '" .$title. "',
text: '" . $message . "',
type: '" . $type . "'
});
*/
return $output;
}

Expand Down

0 comments on commit be9901a

Please sign in to comment.