Sha256: 5e6a7cd6997a707c1cac524ac2c0834cd84e21592abd41acddeab6a795b78153

Contents?: true

Size: 403 Bytes

Versions: 49

Compression:

Stored size: 403 Bytes

Contents

// This file contains JavaScript code required to display some bits on http://mehdix.ir

// main.js

// Central global variable
var Mehdix = {};



// Get code tags and change their dir attribute to ltr.
// TODO: Find a solution to generate this during the build
var codeTags = document.getElementsByTagName('code');
for (var i = 0; i < codeTags.length; i++) {
	codeTags[i].setAttribute('dir', 'ltr');
}

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
jekyll-theme-mehdix-rtl-0.1.8 assets/js/main.js
jekyll-theme-mehdix-rtl-0.1.7 assets/js/main.js
jekyll-theme-mehdix-rtl-0.1.6 assets/js/main.js
jekyll-theme-mehdix-rtl-0.1.5 assets/js/main.js
jekyll-theme-mehdix-rtl-0.1.4 assets/js/main.js
jekyll-theme-mehdix-rtl-0.1.3 assets/js/main.js
jekyll-theme-mehdix-rtl-0.1.2 assets/js/main.js
jekyll-theme-mehdix-rtl-0.1.1 assets/js/main.js
jekyll-theme-mehdix-rtl-0.1.0 assets/js/main.js