fix #89
This commit is contained in:
parent
7e04a5fc5a
commit
794b1f0617
@ -7,7 +7,7 @@
|
||||
|
||||
var api = {
|
||||
isGradient: function(bg) {
|
||||
if (bg.startsWith('linear') || bg.startsWith('radial')) {
|
||||
if (bg && (bg.startsWith('linear') || bg.startsWith('radial'))) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user