1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-06 23:46:18 +00:00

Drop some debugging code

This commit is contained in:
Loic Blot 2018-11-10 17:36:03 +01:00
parent 13ba8b7620
commit c8deb8df6e
No known key found for this signature in database
GPG Key ID: EFAA458E8C153987
2 changed files with 1 additions and 4 deletions

View File

@ -92,7 +92,6 @@ Vue.directive('confirm', {
bind(el, binding, vnode) {
const yesMethod = binding.value[1];
const bodyMessage = binding.value[0];
console.log(bodyMessage);
el.handleClick = (e) => {
const data = {
doYes: function () { yesMethod(); data.show = false; },
@ -101,7 +100,7 @@ Vue.directive('confirm', {
};
let dialog = new Dialog({ data: data }).$mount();
document.getElementById('app').appendChild(dialog.$el);
}
};
el.addEventListener('click', el.handleClick);
},
unbind(el) {

View File

@ -147,8 +147,6 @@ var ContactList = new Vue({
var bufferedContacts = [];
$.each(jsondata['phonelist'], function (id, val) {
console.log(id);
console.log(val);
var fn, peerLabel;
if (typeof jsondata['contacts'][id] === 'undefined') {
peerLabel = id;