mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-04-22 13:39:18 -04:00
Remove "rnd=" param from quick changes since we have the m= cache-buster already.
This commit is contained in:
@@ -58,12 +58,12 @@ class Quick_Controller extends Controller {
|
||||
|
||||
if (Input::instance()->get("page_type") == "collection") {
|
||||
print json_encode(
|
||||
array("src" => $item->thumb_url() . "?rnd=" . rand(),
|
||||
array("src" => $item->thumb_url(),
|
||||
"width" => $item->thumb_width,
|
||||
"height" => $item->thumb_height));
|
||||
} else {
|
||||
print json_encode(
|
||||
array("src" => $item->resize_url() . "?rnd=" . rand(),
|
||||
array("src" => $item->resize_url(),
|
||||
"width" => $item->resize_width,
|
||||
"height" => $item->resize_height));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user