mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: Disable cloaking in the test environment
This commit is contained in:
parent
0a84275800
commit
6b46092aa2
2 changed files with 3 additions and 1 deletions
|
@ -41,6 +41,8 @@
|
|||
//
|
||||
//= require ../../public/javascripts/jquery.magnific-popup-min.js
|
||||
|
||||
window.inTestEnv = true;
|
||||
|
||||
window.assetPath = function(url) {
|
||||
if (url.indexOf('defer') === 0) {
|
||||
return "/assets/" + url;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue