From 3bd23671646379724541f9dced7b83564e6caa4a Mon Sep 17 00:00:00 2001 From: Jeremy Mahieu Date: Sun, 12 Apr 2020 17:59:55 +0200 Subject: [PATCH] Rename buffer variable showTimes --- index.html | 4 ++-- js/models.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 7065f59..4edadf2 100644 --- a/index.html +++ b/index.html @@ -407,12 +407,12 @@ npm run build-electron-{windows, darwin, linux} - + - <>
diff --git a/js/models.js b/js/models.js index b1ae9f2..fecfb54 100644 --- a/js/models.js +++ b/js/models.js @@ -90,7 +90,7 @@ models.service('models', ['$rootScope', '$filter', 'bufferResume', function($roo // There are two kinds of types: bufferType (free vs formatted) and // the kind of type that distinguishes queries from channels etc var bufferType = message.type; - + // If type is undefined set it as other to avoid later errors var type = message.local_variables.type; if (!type) { @@ -105,7 +105,7 @@ models.service('models', ['$rootScope', '$filter', 'bufferResume', function($roo var pinned = message.local_variables.pinned === "true"; //hide timestamps for certain buffer types - var showTime = type && type !== 'relay'; + var showBufferLineTimes = type && type !== 'relay'; // Server buffers have this "irc.server.freenode" naming schema, which // messes the sorting up. We need it to be "irc.freenode" instead. @@ -374,7 +374,7 @@ models.service('models', ['$rootScope', '$filter', 'bufferResume', function($roo getHistoryDown: getHistoryDown, isNicklistEmpty: isNicklistEmpty, nicklistRequested: nicklistRequested, - showTime: showTime, + showBufferLineTimes: showBufferLineTimes, pinned: pinned, queryNicklist: queryNicklist, };