Authored by 王水玲

星潮 gulp ge

@@ -2233,7 +2233,12 @@ $(document).on('touchstart', '.collection', function(event) { @@ -2233,7 +2233,12 @@ $(document).on('touchstart', '.collection', function(event) {
2233 } 2233 }
2234 2234
2235 if (code === 201) { 2235 if (code === 201) {
2236 - window.location = data.data; 2236 + if ($('#collocation-link').length <= 0) {
  2237 + $('body').append('<a href=\'' + data.data + '\' style="display:none;" id="collocation-link">' +
  2238 + '<span class="collocation-link"></span></a>');
  2239 + }
  2240 +
  2241 + $('.collocation-link').click();
2237 } 2242 }
2238 }, 2243 },
2239 error: function() { 2244 error: function() {
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.