Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $scope.showChannelsList = function (tariff_id) {
- document.getElementById('pre').style.display = 'block';
- if (tariff_id === 32) {
- $scope.max = true;
- document.getElementById('card_' + 31).style.border = 'none';
- document.getElementById('style-13').style.overflow = 'scroll';
- document.getElementById('style-13').style.overflowX = 'hidden';
- document.getElementById('card_' + tariff_id).style.border = '1px solid black';
- $scope.channels = $scope.tariffs[1].channels;
- } else {
- $scope.max = false;
- document.getElementById('card_' + tariff_id).style.border = '1px solid black';
- document.getElementById('style-13').style.overflow = 'scroll';
- document.getElementById('style-13').style.overflowX = 'hidden';
- document.getElementById('card_' + 32).style.border = 'none';
- $scope.channels = $scope.tariffs[0].channels;
- }
- document.getElementById('pre').style.display = 'none';
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement