mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Allow wildcards for reloadble CSS files
This commit is contained in:
@ -423,7 +423,7 @@ window.yii = (function ($) {
|
||||
$(document).ajaxComplete(function (event, xhr, settings) {
|
||||
var styleSheets = [];
|
||||
$('link[rel=stylesheet]').each(function () {
|
||||
if ($.inArray(this.href, pub.reloadableScripts) !== -1) {
|
||||
if (isReloadable(this.href)) {
|
||||
return;
|
||||
}
|
||||
if ($.inArray(this.href, styleSheets) == -1) {
|
||||
|
Reference in New Issue
Block a user