mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:51:07 +08:00
FIX: Disable cloaking in the test environment
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user