Bug #1317 ยป 9.diff
| src/web/WebRenderer.C | ||
|---|---|---|
|
if (serveSkeletons) {
|
||
|
bool haveJQuery = false;
|
||
|
for (unsigned i = 0;
|
||
|
i < app->scriptLibraries_.size() - app->scriptLibrariesAdded_;
|
||
|
i < app->scriptLibraries_.size();
|
||
|
++i) {
|
||
|
if (app->scriptLibraries_[i].uri.find("jquery-") != std::string::npos) {
|
||
|
if (app->scriptLibraries_[i].uri.find("jquery") != std::string::npos) {
|
||
|
haveJQuery = true;
|
||
|
break;
|
||
|
}
|
||