Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
we needed bs dropdown man
  • Loading branch information
naveed-ahmad committed Jan 8, 2017
commit 4f990cdcbcfaab6893b0ede233fcdfa5bc2aee0a
4 changes: 2 additions & 2 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ module.exports = Object.assign({
{name: 'msapplication-square310x310logo', content: '/mstitle-310x310.jpg'}
],
link: [
{rel: 'manifest', href: 'manifest.json'},
{rel: 'manifest', href: '/manifest.json'},
{rel: 'search', type: 'application/opensearchdescription+xml', href: '/opensearch.xml', title: 'Quran.com'},
{rel:'fluid-icon', href: '/apple-touch-icon-180x180.png', title: 'Quran.com'},
{rel: 'icon', type: 'image/png', href: '/favicon-32x32.png', sizes:'32x32'},
{rel: 'icon', type: 'image/png', href: '/android-chrome-192x192.png', sizes: '192x192'},
{rel: 'icon', type: 'image/png', href: '/favicon-16x16.png', sizes: '16x16'},
{rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#004f54'},
{rel: 'shortcut icon', href: '/favicon.ico', type: 'image/x-icon'},
{rel: 'apple-touch-icon', href: 'apple-touch-icon.png'},
{rel: 'apple-touch-icon', href: '/apple-touch-icon.png'},
{rel: 'apple-touch-icon', sizes: '57x57', href:' /apple-touch-icon-57x57.png'},
{rel: 'apple-touch-icon', sizes: '72x72', href: '/apple-touch-icon-72x72.png'},
{rel: 'apple-touch-icon', sizes: '76x76', href: '/apple-touch-icon-76x76.png'},
Expand Down
3 changes: 2 additions & 1 deletion src/containers/Surah/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ class Surah extends Component {
}

handleVerseDropdownClick = (ayahNum) => {
alert("r");
const { ayahIds, surah, actions } = this.props; // eslint-disable-line no-shadow

actions.ayah.setCurrentAyah(`${surah.id}:${ayahNum}`);
Expand Down Expand Up @@ -258,7 +259,7 @@ class Surah extends Component {
return `Surat ${surah.name.simple} [verse ${params.range}]`;
}

return `${surah.info.shortDescription} This Surah has ${surah.ayat} ayahs and resides between pages ${surah.page[0]} to ${surah.page[1]} in the Quran.`; // eslint-disable-line max-len
return `${surah.info ? surah.info.shortDescription : ''} This Surah has ${surah.ayat} ayahs and resides between pages ${surah.page[0]} to ${surah.page[1]} in the Quran.`; // eslint-disable-line max-len
}

renderPagination() {
Expand Down
6 changes: 3 additions & 3 deletions src/styles/bootstrap.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ module.exports = {
"scripts": {
"transition": false,
"alert": false,
"button": false,
"button": true,
"carousel": false,
"collapse": false,
"dropdown": false,
"dropdown": true,
"modal": false,
"tooltip": false,
"tooltip": true,
"popover": false,
"scrollspy": false,
"tab": false,
Expand Down