mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 22:17:03 +01:00
Fix bug where it would alert warning when saving custom css
This commit is contained in:
parent
1629a8982c
commit
197750fc91
@ -99,6 +99,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
$("#live_preview_warning").hide();
|
||||
var formPost = postForm();
|
||||
formPost.done(function (data) {
|
||||
if (newCSS) {
|
||||
@ -111,6 +112,7 @@
|
||||
});
|
||||
formPost.fail(function () {
|
||||
Materialize.toast('Oh no! Something has failed posting your CSS!', 10000);
|
||||
$("#live_preview_warning").show();
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user