Skip to content

Commit

Permalink
fix:修复页面片占位被干掉的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed Feb 23, 2016
1 parent 0758f1c commit be00e14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/build/athena_mate/athena_combo.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ function combo (opts) {

headChildren.each(function (i, item) {
var nodeType = item.nodeType;
if (nodeType === 8 && /global|combo/.test(item.data)) {
if (nodeType === 8 && /global:|endglobal/.test(item.data)) {
$(item).remove();
}

});
var links = $('link[rel=stylesheet]');
if (config.needCombo) {
Expand Down

0 comments on commit be00e14

Please sign in to comment.