mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-14 10:36:19 +02:00
fix refresh on trying to open acss in codepen.
This commit is contained in:
@ -1348,6 +1348,7 @@ runBtn, searchInput
|
|||||||
codepenBtn.addEventListener('click', function (e) {
|
codepenBtn.addEventListener('click', function (e) {
|
||||||
if (cssMode === CssModes.ACSS) {
|
if (cssMode === CssModes.ACSS) {
|
||||||
alert('Oops! CodePen doesn\'t supports Atomic CSS currently.');
|
alert('Oops! CodePen doesn\'t supports Atomic CSS currently.');
|
||||||
|
e.preventDefault();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var json = {
|
var json = {
|
||||||
|
Reference in New Issue
Block a user