add more predefined styles

This commit is contained in:
Alex Adam 2017-09-06 21:47:33 +03:00
parent db77b562b1
commit 5cabb7a458
3 changed files with 72 additions and 3 deletions

View file

@ -35,7 +35,7 @@ function createStyleList(styles) {
var styleUrlRegex = null;
try {
styleUrlRegex = new RegExp('.*' + styleUrl + '.*', 'i');
styleUrlRegex = new RegExp(styleUrl, 'i');
} catch (e) {
}