Authored by 陈轩

im android

... ... @@ -10,6 +10,7 @@ import appBridge from 'yoho-app';
import {time} from './time';
import {api} from './store';
import {RatingView, LeaveMSGView, OrderListView } from './view';
import qs from 'yoho-qs';
var socket = require('./socket-chat'),
socketConf = require('./socket-config');
... ... @@ -811,10 +812,14 @@ $('#chat-window').on('click', '.chat-image', function() {
});
if (appBridge.isApp) {
$('#js-back').on('click', function(e) {
$('#js-back').removeAttr('href').on('click', function(e) {
e.preventDefault();
if ((qs.clientType || '').toLowerCase() === 'android') {
window.im.goBack();
} else {
appBridge.invokeMethod('go.back', {});
}
});
}
... ...