Authored by 王水玲

星潮bug修改

@@ -127,7 +127,12 @@ $(document).on('touchstart', '.collection', function(event) { @@ -127,7 +127,12 @@ $(document).on('touchstart', '.collection', function(event) {
127 } 127 }
128 128
129 if (code === 201) { 129 if (code === 201) {
130 - window.location = data.data; 130 + if ($('#collocation-link').length <= 0) {
  131 + $('body').append('<a href=\'' + data.data + '\' style="display:none;" id="collocation-link">' +
  132 + '<span class="collocation-link"></span></a>');
  133 + }
  134 +
  135 + $('.collocation-link').click();
131 } 136 }
132 }, 137 },
133 error: function() { 138 error: function() {