Skip to content

Commit

Permalink
Changed confirm-close buttons, added space between buttons. Fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
rudmanmrrod committed Jan 30, 2019
1 parent 0a394f8 commit f51ef60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,12 @@ <h3 id="install">Installation</h3>

&lt;head&gt;
&lt;link href="src/materialize/css/materialize.css" rel="stylesheet" type="text/css"&gt;
&lt;script src="src/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="src/materialize/js/materialize.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="src/material-dialog.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;/head&gt;
</pre>

<p>Material Dialog need jQuery and materialize.js</p>
<p>Material Dialog need materialize css and js</p>

<h3 id="usage">Usage</h3><hr/>

Expand Down
2 changes: 1 addition & 1 deletion src/material-dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ MaterialDialog.templates = {
"<div class='modal material-dialog class_here'>"+
"<div class='modal-content'><h4 class='modal-title'>title_here</h4></div>"+
"<div class='modal-footer'>"+
"<button class='btn modal-close close close_button_class'>close_button_text</button>&nbsp;" +
"<button class='btn modal-close confirm confirm_button_class'>confirm_button_text</button>" +
"<button class='btn modal-close close close_button_class'>close_button_text</button>" +
"<div>"+
"</div>",
};
Expand Down
2 changes: 1 addition & 1 deletion src/material-dialog.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f51ef60

Please sign in to comment.